From bc45deafab2eeaaaa42cd8a14f89bd888b670bdc Mon Sep 17 00:00:00 2001 From: MS_Y Date: Sun, 23 Jan 2022 21:47:55 +0900 Subject: [PATCH] Fix: Tab Bar Size #318 --- userChrome.css | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/userChrome.css b/userChrome.css index df2f004..464dc43 100644 --- a/userChrome.css +++ b/userChrome.css @@ -2846,21 +2846,15 @@ menuitem.openintabs-menuitem, } /* Toolbar Height */ -:root[uidensity="compact"] #TabsToolbar { - --toolbarbutton-inner-padding: 9px !important; /* Original: calc((var(--tab-min-height) - 16px) / 2) = 10px */ -} - -.toolbar-items, -.tabbrowser-tab { +#tabbrowser-arrowscrollbox { --tabbar-max-height: 38px; max-height: calc(var(--tabbar-max-height) + var(--space-above-tabbar)); } -:root[uidensity="compact"] .toolbar-items, -:root[uidensity="compact"] .tabbrowser-tab { - --tabbar-max-height: 36px; + +:root[uidensity="compact"] #tabbrowser-arrowscrollbox { + --tabbar-max-height: 32px; } -:root[uidensity="touch"] .toolbar-items, -:root[uidensity="touch"] .tabbrowser-tab { +:root[uidensity="touch"] #tabbrowser-arrowscrollbox { --tabbar-max-height: 45px; }