Replace uses of [{first,last}-visible-tab] with pseudo-classes

Those attributes don't exist anymore in Firefox 109
This commit is contained in:
MrOtherGuy
2023-01-29 20:49:11 +02:00
parent eeba98f261
commit 8c41908dd8
3 changed files with 15 additions and 2 deletions

View File

@@ -7,6 +7,8 @@ See the above repository for updates as well as full license text. */
* icon with private browsing indicator while tabs are hidden.
* REMOVE ALL BUTTONS from tabs toolbar and menubar including newtab-button
* and firefox-view-button - this style does not work otherwise.
*
* This will NOT work correctly if you have hidden tabs such as with tab groups extensions
**/
/* IMPORTANT */
@@ -51,6 +53,8 @@ Window controls will be all wrong without it
.tabbrowser-tab{
height: calc(var(--tab-min-height) + 2 * var(--tab-block-margin));
}
.tabbrowser-tab:only-of-type,
.tabbrowser-tab[first-visible-tab="true"][last-visible-tab="true"]{
visibility: collapse;
min-height: 0 !important;