diff --git a/theme/parts/tabsbar.css b/theme/parts/tabsbar.css index 8feecbb..8b48f65 100644 --- a/theme/parts/tabsbar.css +++ b/theme/parts/tabsbar.css @@ -451,9 +451,9 @@ tab { /* OPTIONAL: Hide single tab */ @supports -moz-bool-pref("gnomeTheme.hideSingleTab") { - #tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"]:not([pinned]), - #tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"]:not([pinned]) ~ toolbarbutton, - #tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"]:not([pinned]) ~ #tabbrowser-arrowscrollbox-periphery { + #tabbrowser-tabs tab:only-of-type, + #tabbrowser-tabs tab:only-of-type ~ toolbarbutton, + #tabbrowser-tabs tab:only-of-type ~ #tabbrowser-arrowscrollbox-periphery { visibility: collapse; } }