add few compatibility rules for multi-row_tabs

This commit is contained in:
MrOtherGuy 2022-04-17 15:54:07 +03:00
parent 4a263d029a
commit 0c81924f74

View file

@ -19,7 +19,9 @@ Window controls will be all wrong without it
#tabbrowser-tabs > .tabbrowser-arrowscrollbox,
#tabbrowser-arrowscrollbox{ min-height: 0 !important; }
#TabsToolbar > .titlebar-spacer[type="post-tabs"]{ width: calc(var(--uc-window-control-width,0px) + var(--uc-window-drag-space-post,0px)) !important; }
#TabsToolbar > .titlebar-spacer[type="post-tabs"]{
width: calc(var(--uc-window-control-width,0px) + var(--uc-window-drag-space-post,0px)) !important;
}
#toolbar-menubar > spacer{ pointer-events: none }
:root:not([customizing]) #tabs-newtab-button,
@ -39,9 +41,14 @@ Window controls will be all wrong without it
}
.accessibility-indicator > hbox{ padding-block: 0 !important }
#tabbrowser-tabs .tabbrowser-tab{ height: calc(var(--tab-min-height) + 2 * var(--tab-block-margin)) }
#tabbrowser-tabs .tabbrowser-tab[first-visible-tab="true"][last-visible-tab="true"]{
.tabbrowser-tab{
height: calc(var(--tab-min-height) + 2 * var(--tab-block-margin));
}
.tabbrowser-tab[first-visible-tab="true"][last-visible-tab="true"]{
visibility: collapse;
/* These seem unnecessary, but they achieve compatibility with hide_tabs_with_one_tab.css */
min-height: 0 !important;
height: 0;
}
/* Button re-styling */