From 8edfb16aba17f082a3a0da891d8e49658bf36530 Mon Sep 17 00:00:00 2001 From: Remy Raes Date: Thu, 20 Oct 2022 02:40:42 +0200 Subject: feat: apply same height to all menu components --- src-vue/src/App.vue | 4 ++-- 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; } -- cgit v1.2.3