Fix: Tab Bar Size #318

This commit is contained in:
MS_Y 2022-01-23 21:47:55 +09:00 committed by GitHub
parent 6c25391e70
commit bc45deafab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}