From 3073137d39d812e1d388160bd7b9e3441f3820ce Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Sat, 13 Jan 2024 19:45:20 +0800 Subject: [PATCH] Fix title bar height on Linux --- scss/linux/_titleBar.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scss/linux/_titleBar.scss b/scss/linux/_titleBar.scss index 515e1a3294..bd90e976b5 100644 --- a/scss/linux/_titleBar.scss +++ b/scss/linux/_titleBar.scss @@ -19,12 +19,17 @@ visibility: visible; // space for 30*30 icon padding-left: var(--tab-min-height); + height: var(--tab-min-height); } #menubar-items { pointer-events: all; } +#main-menubar { + height: var(--tab-min-height); +} + #titlebar { pointer-events: none; } @@ -33,6 +38,10 @@ pointer-events: all; } +.titlebar-button { + margin: 4px 0; +} + .titlebar-icon-container { margin-bottom: calc(0px - var(--tab-min-height)); height: var(--tab-min-height);