From 76867a5f570319d1bfd8cd396c92c876450328da Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Tue, 10 Jan 2023 09:41:48 +0200 Subject: [PATCH] tab-separator-lines: switch to using border-inline-start for border Previously we used border-inline-end but that won't work in Firefox 110 because tabs aren't given certain attributes anymore. --- chrome/tab_separator_lines.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/chrome/tab_separator_lines.css b/chrome/tab_separator_lines.css index 73caa71..2f77db4 100644 --- a/chrome/tab_separator_lines.css +++ b/chrome/tab_separator_lines.css @@ -4,7 +4,7 @@ See the above repository for updates as well as full license text. */ /* Bring back tab separator lines that were removed in Proton */ .tabbrowser-tab{ - border-inline-end: 1px solid transparent !important; + border-inline-start: 1px solid transparent !important; border-image: 0 1 linear-gradient( transparent 20%, color-mix(in srgb, currentColor 20%, transparent) 20%, @@ -14,8 +14,10 @@ See the above repository for updates as well as full license text. */ } .tabbrowser-tab:hover, -#tabbrowser-tabs:not([movingtab]) .tabbrowser-tab[beforehovered], +#tabbrowser-tabs:not([movingtab]) .tabbrowser-tab:hover + .tabbrowser-tab:not([first-visible-unpinned-tab]), +.tabbrowser-tab:first-child, .tabbrowser-tab[selected], .tabbrowser-tab[multiselected], -#tabbrowser-tabs:not([movingtab]) .tabbrowser-tab[before-multiselected], -#tabbrowser-tabs:not([movingtab]) .tabbrowser-tab[beforeselected-visible] { border-image: none !important; } \ No newline at end of file +#tabbrowser-arrowscrollbox[overflowing] > .tabbrowser-tab[first-visible-unpinned-tab], +#tabbrowser-tabs:not([movingtab]) .tabbrowser-tab[multiselected] + .tabbrowser-tab, +#tabbrowser-tabs:not([movingtab]) .tabbrowser-tab[selected] + .tabbrowser-tab { border-image: none !important; } \ No newline at end of file