From 356ad32b0cfa2a52b226e7f571970b8c22bdd939 Mon Sep 17 00:00:00 2001 From: Rafael Mardojai CM Date: Wed, 15 Feb 2023 14:34:15 -0500 Subject: [PATCH] Update gnomeTheme.hideSingleTab to Firefox 110 changes Fixes #552 --- theme/parts/tabsbar.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } }