From eb8a135ce60924309a022ff518ace91bf35199e7 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Mon, 14 Feb 2022 01:08:35 +0900 Subject: [PATCH] Fix: Tab bar - height of `photon-style` #333 --- userChrome.css | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/userChrome.css b/userChrome.css index a58945e..42302b0 100644 --- a/userChrome.css +++ b/userChrome.css @@ -2865,16 +2865,19 @@ menuitem.openintabs-menuitem, } /* Toolbar Height */ -#tabbrowser-arrowscrollbox { - --tabbar-max-height: 33px; - max-height: calc(var(--tabbar-max-height) + var(--space-above-tabbar)); +#TabsToolbar { + --tab-min-height: 33px !important; + --toolbarbutton-inner-padding: unset !important; +} +:root[uidensity="compact"] #TabsToolbar { + --tab-min-height: 29px !important; +} +:root[uidensity="touch"] #TabsToolbar { + --tab-min-height: 41px !important; } -:root[uidensity="compact"] #tabbrowser-arrowscrollbox { - --tabbar-max-height: 29px; -} -:root[uidensity="touch"] #tabbrowser-arrowscrollbox { - --tabbar-max-height: 45px; +#tabbrowser-arrowscrollbox { + max-height: calc(var(--tab-min-height) + var(--space-above-tabbar)); } /* Top Margin */