diff --git a/chrome/hide_tabs_with_one_tab.css b/chrome/hide_tabs_with_one_tab.css index 079aad1..501c395 100644 --- a/chrome/hide_tabs_with_one_tab.css +++ b/chrome/hide_tabs_with_one_tab.css @@ -1,7 +1,7 @@ /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/hide_tabs_with_one_tab.css made available under Mozilla Public License v. 2.0 See the above repository for updates as well as full license text. */ -/* Makes tabs toolbar items zero-height initially and sets enlarge them to fill up space equal to tab-min-height set on tabs */ +/* Makes tabs toolbar items zero-height initially and sets enlarge them to fill up space equal to tab-min-height set on tabs. Optionally use privatemode_indicator_as_menu_button.css to replace main menu icon with private browsing indicator while tabs are hidden. */ /* Firefox 65+ only */ :root[sizemode="normal"] #nav-bar{ --uc-window-drag-space-width: 20px } @@ -23,6 +23,12 @@ See the above repository for updates as well as full license text. */ margin: 0 !important; } +.accessibility-indicator, +.private-browsing-indicator{ + height: unset !important; +} +.accessibility-indicator > hbox{ padding-block: 0 !important } + #tabbrowser-tabs .tabbrowser-tab{ height: var(--tab-min-height) } #tabbrowser-tabs .tabbrowser-tab[first-visible-tab="true"][last-visible-tab="true"]{ @@ -49,4 +55,4 @@ See the above repository for updates as well as full license text. */ } #nav-bar{ border-inline: var(--uc-window-drag-space-width) solid var(--toolbar-bgcolor); -} \ No newline at end of file +} diff --git a/chrome/hide_tabs_with_one_tab_w_window_controls.css b/chrome/hide_tabs_with_one_tab_w_window_controls.css index 5c0c6c7..cb01d65 100644 --- a/chrome/hide_tabs_with_one_tab_w_window_controls.css +++ b/chrome/hide_tabs_with_one_tab_w_window_controls.css @@ -1,7 +1,7 @@ /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/hide_tabs_with_one_tab_w_window_controls.css made available under Mozilla Public License v. 2.0 See the above repository for updates as well as full license text. */ -/* Makes tabs toolbar items zero-height initially and sets enlarge them to fill up space equal to tab-min-height set on tabs */ +/* Makes tabs toolbar items zero-height initially and sets enlarge them to fill up space equal to tab-min-height set on tabs. Optionally use privatemode_indicator_as_menu_button.css to replace main menu icon with private browsing indicator while tabs are hidden. */ /* Firefox 65+ only */ /* !!USER!! - REMOVE ALL BUTTONS you can from the tabs toolbar */ @@ -28,6 +28,13 @@ Window controls will be all wrong without it -moz-box-align: stretch; margin: 0 !important; } + +.accessibility-indicator, +.private-browsing-indicator{ + height: unset !important; +} +.accessibility-indicator > hbox{ padding-block: 0 !important } + #tabbrowser-tabs .tabbrowser-tab{ height: var(--tab-min-height) } #tabbrowser-tabs .tabbrowser-tab[first-visible-tab="true"][last-visible-tab="true"]{ visibility: collapse;