Fix: Tab Bar - Height at lepton like padding

This commit is contained in:
alstjr7375 2022-03-24 03:17:04 +09:00
parent 40891ccd80
commit e0a4c83e1b
2 changed files with 18 additions and 14 deletions

View file

@ -27,12 +27,14 @@
margin-top: 0 !important;
}
}
@include NotOption("userChrome.tab.photon_like_padding") {
:root:not([uidensity]) #TabsToolbar {
--tab-min-height: 36px !important; /* 38px -> 36px */
}
:root[uidensity="compact"] #TabsToolbar {
--tab-min-height: 29px !important; /* 36px -> 29px */
@include NotOption("userChrome.tab.lepton_like_padding") {
@include NotOption("userChrome.tab.photon_like_padding") {
:root:not([uidensity]) #TabsToolbar {
--tab-min-height: 36px; /* 38px -> 36px */
}
:root[uidensity="compact"] #TabsToolbar {
--tab-min-height: 29px; /* 36px -> 29px */
}
}
}
@include Option("userChrome.tab.connect_to_window") {

View file

@ -3047,15 +3047,17 @@
margin-top: 0 !important;
}
}
@supports not -moz-bool-pref("userChrome.tab.photon_like_padding") {
:root:not([uidensity]) #TabsToolbar {
--tab-min-height: 36px !important;
/* 38px -> 36px */
}
@supports not -moz-bool-pref("userChrome.tab.lepton_like_padding") {
@supports not -moz-bool-pref("userChrome.tab.photon_like_padding") {
:root:not([uidensity]) #TabsToolbar {
--tab-min-height: 36px;
/* 38px -> 36px */
}
:root[uidensity="compact"] #TabsToolbar {
--tab-min-height: 29px !important;
/* 36px -> 29px */
:root[uidensity="compact"] #TabsToolbar {
--tab-min-height: 29px;
/* 36px -> 29px */
}
}
}
@supports -moz-bool-pref("userChrome.tab.connect_to_window") {