curved tabs: Use :last-of-type instead of [last-visible-tab]

The attribute hasn't existed for some time
This commit is contained in:
MrOtherGuy
2023-10-30 06:47:44 +02:00
parent 0f1571231e
commit 576b7d2bd5

View File

@@ -101,7 +101,7 @@ See the above repository for updates as well as full license text. */
}
/* Annoying fix to prevent hovering of last tab to trigger tab overflow, better solution wanted */
.tabbrowser-tab[last-visible-tab]{ margin-inline-end: var(--uc-tab-curve-size) !important; }
.tabbrowser-tab:last-of-type{ margin-inline-end: var(--uc-tab-curve-size) !important; }
/* Move tabs a bit away from the window edge, otherwise the left-most pinned tab might be partially outside of window */
#tabbrowser-tabs[positionpinnedtabs]{ margin-left: var(--uc-tab-curve-size) }