From 9ee36cbd1d842b89595ae1bcbf849a06d585c59b Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Fri, 17 Feb 2023 13:59:45 +0800 Subject: [PATCH] Fixed #808 --- src/other/firefox/WhiteSur/hide-single-tab.css | 3 ++- src/other/firefox/WhiteSur/parts/tabsbar.css | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/other/firefox/WhiteSur/hide-single-tab.css b/src/other/firefox/WhiteSur/hide-single-tab.css index 943c67b..cb35ab6 100644 --- a/src/other/firefox/WhiteSur/hide-single-tab.css +++ b/src/other/firefox/WhiteSur/hide-single-tab.css @@ -1,6 +1,7 @@ @namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -#tabbrowser-tabs tab:only-of-type { +#tabbrowser-tabs tab:only-of-type, +#TabsToolbar #alltabs-button { display: none !important; } diff --git a/src/other/firefox/WhiteSur/parts/tabsbar.css b/src/other/firefox/WhiteSur/parts/tabsbar.css index 12df2de..d4ef760 100644 --- a/src/other/firefox/WhiteSur/parts/tabsbar.css +++ b/src/other/firefox/WhiteSur/parts/tabsbar.css @@ -13,8 +13,7 @@ /* Tabs bar height */ #tabbrowser-tabs, #tabbrowser-tabs arrowscrollbox { - height: 32px !important; - min-height: 32px !important; + min-height: 0 !important; --tab-min-height: 32px !important; } @@ -315,7 +314,7 @@ tab[selected]:-moz-window-inactive { margin: 0 !important; border-radius: 0 !important; min-width: 32px !important; - height: 32px !important; + min-height: 32px !important; padding: 0 !important; }