Remove uses of [positionpinnedtabs]

This commit is contained in:
MrOtherGuy
2025-07-25 12:27:11 +03:00
parent 8eda953922
commit f1da322d1d
2 changed files with 4 additions and 31 deletions

View File

@@ -77,10 +77,6 @@ See the above repository for updates as well as full license text. */
/* tab shaping */
.tabbrowser-tab{ padding-inline: 0 !important; }
:root[uidensity="compact"] #tabbrowser-tabs[positionpinnedtabs] .tabbrowser-tab[pinned]{
min-height: calc(var(--tab-min-height) + 2px) !important;
}
.tab-content[pinned]{ padding-inline: 11px !important; }
.tab-background{

View File

@@ -2,31 +2,8 @@
See the above repository for updates as well as full license text. */
/* Show pinned tabs on right side of normal tabs */
/* This is stupid hack that barely works and might lead to some very unexpected behavior */
.scrollbutton-up[orient="horizontal"]~spacer{ display: none }
.scrollbutton-up[orient="horizontal"]~scrollbox{
justify-content: flex-end;
}
.scrollbutton-up[orient="horizontal"]~scrollbox::after{
content: "";
display: flex;
flex-grow: 1;
flex-shrink: 1;
order: 2;
}
#tabs-newtab-button{
order: 2;
}
.tabbrowser-tab[pinned]{
order: 3;
}
#tabbrowser-tabs[positionpinnedtabs]{ direction: rtl }
#tabbrowser-tabs[positionpinnedtabs] > arrowscrollbox {
flex-direction: row-reverse;
}
.tab-content{ direction: ltr }
#pinned-tabs-container[orient="horizontal"]{
order: 1;
margin-inline: 12px 0 !important;
}