diff options
author | Remy Raes <raes.remy@gmail.com> | 2022-10-20 02:40:42 +0200 |
---|---|---|
committer | Remy Raes <raes.remy@gmail.com> | 2022-10-20 02:40:42 +0200 |
commit | 8edfb16aba17f082a3a0da891d8e49658bf36530 (patch) | |
tree | 89db4b731ab5b4bff6553c9f1bfd3d5553dfe8cb | |
parent | c34db477a4c33882afbb86972c3bf2521b31957c (diff) | |
download | FlightCore-8edfb16aba17f082a3a0da891d8e49658bf36530.tar.gz FlightCore-8edfb16aba17f082a3a0da891d8e49658bf36530.zip |
feat: apply same height to all menu components
-rw-r--r-- | src-vue/src/App.vue | 4 | ||||
-rw-r--r-- | src-vue/src/style.css | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src-vue/src/App.vue b/src-vue/src/App.vue index 1b96abc3..68372fc7 100644 --- a/src-vue/src/App.vue +++ b/src-vue/src/App.vue @@ -86,7 +86,7 @@ export default { background-image: radial-gradient(transparent 1px); backdrop-filter: saturate(50%) blur(4px); background-color: transparent; - height: auto !important; + height: var(--fc-menu_height); } /* Window controls */ @@ -95,7 +95,7 @@ export default { position: absolute; top: 0; right: 0; - height: var(--el-tabs-header-height); + height: var(--fc-menu_height); } #fc_window__controls > button { diff --git a/src-vue/src/style.css b/src-vue/src/style.css index eee68edd..6fd4a793 100644 --- a/src-vue/src/style.css +++ b/src-vue/src/style.css @@ -1,7 +1,7 @@ body { margin: 0; font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif; - --el-tabs-header-height: 60px; + --fc-menu_height: 50px; user-select: none; } |