Fix: Padding - Suppress jitter when using Panorama Tab Groups #643

This commit is contained in:
alstjr7375 2023-06-18 18:12:32 +09:00
parent a6082bd643
commit 15871dc7c6
2 changed files with 9 additions and 0 deletions

5
css/leptonChrome.css generated
View file

@ -3436,6 +3436,11 @@
max-width: var(--tab-max-width) !important; /* Original: 225px */
}
/* neighbouring tabs should "pinch" together */
#tabbrowser-tabs:not([hasadjacentnewtabbutton]):not([overflow="true"])
> #tabbrowser-arrowscrollbox
> #tabbrowser-arrowscrollbox-periphery {
min-width: 1px;
}
@supports not -moz-bool-pref("userChrome.tab.photon_like_padding") {
@supports -moz-bool-pref("userChrome.tab.lepton_like_padding") {
.tabbrowser-tab[pinned] {

View file

@ -89,6 +89,10 @@
}
/* neighbouring tabs should "pinch" together */
#tabbrowser-tabs:not([hasadjacentnewtabbutton]):not([overflow="true"])
> #tabbrowser-arrowscrollbox > #tabbrowser-arrowscrollbox-periphery {
min-width: 1px; // With Panorama Tab Groups #643
}
@include NotOption("userChrome.tab.photon_like_padding") {
@include Option("userChrome.tab.lepton_like_padding") {
.tabbrowser-tab {