From c7ec9aa13a97cb7f07cffe82f6767a0067b222c4 Mon Sep 17 00:00:00 2001 From: bmFtZQ <62812711+bmFtZQ@users.noreply.github.com> Date: Thu, 23 Nov 2023 13:58:13 +0800 Subject: [PATCH] Hide 1st tab separator if there is nothing before --- chrome/toolbar/tabbar.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chrome/toolbar/tabbar.css b/chrome/toolbar/tabbar.css index 6594d8a..781cf66 100644 --- a/chrome/toolbar/tabbar.css +++ b/chrome/toolbar/tabbar.css @@ -328,6 +328,11 @@ toolbarbutton[part="scrollbutton-down"] { border-color: transparent !important; } +/* Hide first tab separator if there are no buttons before it (Such as Firefox View) */ +#TabsToolbar-customization-target > #tabbrowser-tabs:not(toolbarbutton:not(#fxa-toolbar-menu-button) + #tabbrowser-tabs) .tabbrowser-tab:first-of-type .tab-stack::before { + border-color: transparent !important; +} + /* .tabbrowser-tab:not([last-visible-tab="true"]) { margin-inline-end: -1px !important; } */