multi-row tabs: decrease selector specificity for tab min-width

This commit is contained in:
MrOtherGuy
2026-03-29 18:12:40 +03:00
parent 875a83e8b8
commit 5957bb939f

View File

@@ -53,7 +53,7 @@ See the above repository for updates as well as full license text. */
tab-split-view-wrapper {
min-width: calc(var(--multirow-tab-min-width) * 2 + 6px) !important;
}
#tabbrowser-tabs[orient="horizontal"] .tabbrowser-tab[fadein]:not([pinned]){
:where(#tabbrowser-tabs[orient="horizontal"]) .tabbrowser-tab[fadein]:not([pinned]){
min-width: var(--multirow-tab-min-width) !important;
flex-grow: var(--multirow-tab-dynamic-width) !important;
}
@@ -80,6 +80,6 @@ tab-split-view-wrapper {
}
/* Make tab groups collapse */
tab-group[collapsed] .tabbrowser-tab[fadein]:not([pinned]){
tab-group[collapsed] > .tabbrowser-tab[fadein]:not([pinned]){
min-width: 0 !important;
}