diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2022-10-25 14:43:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 14:43:02 +0200 |
commit | 20c92238a8ffb2bfd2b2ae6a208844434fb7ebfb (patch) | |
tree | f87e86a2af0e682e40fea66149166cb8a71aa434 /src-vue/src/App.vue | |
parent | d64c3b64c9623f341b761a692ac0012452c69d8f (diff) | |
download | FlightCore-20c92238a8ffb2bfd2b2ae6a208844434fb7ebfb.tar.gz FlightCore-20c92238a8ffb2bfd2b2ae6a208844434fb7ebfb.zip |
feat: Show installed mods (#28)
Simply parses `enabledmods.json`.
In the future we should also opt to check individual mods and compare
with the JSON file.
Diffstat (limited to 'src-vue/src/App.vue')
-rw-r--r-- | src-vue/src/App.vue | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src-vue/src/App.vue b/src-vue/src/App.vue index 115330c3..5eeeb93b 100644 --- a/src-vue/src/App.vue +++ b/src-vue/src/App.vue @@ -34,6 +34,7 @@ export default { </script> <template> + <div class="app-inner"> <div id="fc_bg__container" /> <el-menu @@ -56,6 +57,7 @@ export default { <el-button color="white" icon="SemiSelect" @click="minimize" circle /> <el-button color="white" icon="CloseBold" @click="close" circle /> </div> + </div> </template> <style> @@ -63,6 +65,10 @@ export default { #fc__menu_bar { border: none !important; } +.app-inner { + height: 100%; + width: 100%; +} /* Header item */ #fc__menu_bar .el-menu-item { @@ -84,6 +90,11 @@ export default { background-color: transparent; } +.app-inner > .fc__mods__container { + overflow-y: auto; + height: calc(100% - var(--fc-menu_height)); +} + /* Header menu */ #fc__menu_bar { background-image: radial-gradient(transparent 1px); |