aboutsummaryrefslogtreecommitdiff
path: root/src-vue
diff options
context:
space:
mode:
authorRemy Raes <raes.remy@gmail.com>2022-10-20 02:40:42 +0200
committerRemy Raes <raes.remy@gmail.com>2022-10-20 02:40:42 +0200
commit8edfb16aba17f082a3a0da891d8e49658bf36530 (patch)
tree89db4b731ab5b4bff6553c9f1bfd3d5553dfe8cb /src-vue
parentc34db477a4c33882afbb86972c3bf2521b31957c (diff)
downloadFlightCore-8edfb16aba17f082a3a0da891d8e49658bf36530.tar.gz
FlightCore-8edfb16aba17f082a3a0da891d8e49658bf36530.zip
feat: apply same height to all menu components
Diffstat (limited to 'src-vue')
-rw-r--r--src-vue/src/App.vue4
-rw-r--r--src-vue/src/style.css2
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;
}