From 9b3ee5cecc823e1f1ba5ad329720e680bdb08148 Mon Sep 17 00:00:00 2001 From: Rafael Mardojai CM Date: Sun, 7 Jun 2020 08:19:31 -0500 Subject: [PATCH] Implement gnomeTheme.hideSingleTab pref Initial support for @supports -moz-bool-pref() Related to #137 --- theme/parts/tabsbar.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/theme/parts/tabsbar.css b/theme/parts/tabsbar.css index 8f04115..2c193a0 100644 --- a/theme/parts/tabsbar.css +++ b/theme/parts/tabsbar.css @@ -275,3 +275,10 @@ tab[selected]:-moz-window-inactive { position: relative; margin-right: -10px; } + +/* OPTIONAL: Hide Single Tab */ +@supports -moz-bool-pref("gnomeTheme.hideSingleTab") { + #tabbrowser-tabs tab:only-of-type { + display: none !important; + } +}