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

@@ -9,6 +9,8 @@ Set the pref layout.css.osx-font-smoothing.enabled to true - this is enabled by
This patch only supports window controls on left - ie. they will be drawn to the left of the nav-bar. If you want to use this with window controls on right you must enable native titlebar.
There is no good way to handle scrollable multiple rows so you should set the maximum rows in multi-row_tabs.css to something you won't ever hit. Or you could just check what happens.
This will NOT work correctly if you have hidden tabs such as with tab groups extensions
*/
/*
@@ -39,7 +41,10 @@ chrome/urlbar_full_width.css
margin-top: calc(0px - var(--uc-toolbar-height,0px));
margin-left: 0px;
}
#tabbrowser-tabs .tabbrowser-tab[first-visible-tab]{ margin-left: var(--uc-navigationbar-width) !important; }
#tabbrowser-tabs .tabbrowser-tab:first-child,
#tabbrowser-tabs .tabbrowser-tab[first-visible-tab]{
margin-left: var(--uc-navigationbar-width) !important;
}
}