add few multi-row_tabs compatibility rules

Empty tabs toolbar won't collapse otherwise because of how flexbox
treats visibility:collapse
This commit is contained in:
MrOtherGuy 2022-04-17 15:44:57 +03:00
parent c5eb21c3dd
commit 4a263d029a

View file

@ -9,7 +9,9 @@ See the above repository for updates as well as full license text. */
#titlebar{ -moz-appearance: none !important; }
#TabsToolbar{ min-height: 0px !important }
#tabbrowser-tabs, #tabbrowser-tabs > .tabbrowser-arrowscrollbox, #tabbrowser-arrowscrollbox{ min-height: 0 !important; }
#tabbrowser-tabs,
#tabbrowser-tabs > .tabbrowser-arrowscrollbox,
#tabbrowser-arrowscrollbox{ min-height: 0 !important; }
:root:not([customizing]) #tabbrowser-tabs .tabs-newtab-button,
:root:not([customizing]) #tabs-newtab-button,
@ -35,6 +37,9 @@ See the above repository for updates as well as full license text. */
.tabbrowser-tab[first-visible-tab="true"][last-visible-tab="true"]{
visibility: collapse !important;
/* These seem unnecessary, but they achieve compatibility with hide_tabs_with_one_tab.css */
min-height: 0 !important;
height: 0;
}
/* Button re-styling */