Add .scrollbox-clip selectors to accompany #tabbrowser-arrowscrollbox

This commit is contained in:
MrOtherGuy 2020-08-08 16:36:09 +03:00
parent 6263334baa
commit 90317cc59b
2 changed files with 4 additions and 0 deletions

View file

@ -42,6 +42,7 @@ See the above repository for updates as well as full license text. */
} }
} }
.scrollbox-clip[orient="horizontal"],
#tabbrowser-arrowscrollbox{ #tabbrowser-arrowscrollbox{
overflow: -moz-hidden-unscrollable; overflow: -moz-hidden-unscrollable;
display: block; display: block;

View file

@ -144,12 +144,15 @@ See the above repository for updates as well as full license text. */
scrollbar-width: thin; scrollbar-width: thin;
} }
.scrollbox-clip[orient="horizontal"],
#tabbrowser-arrowscrollbox{ #tabbrowser-arrowscrollbox{
overflow: -moz-hidden-unscrollable; overflow: -moz-hidden-unscrollable;
display: block; display: block;
--scrollbutton-display-model: none; --scrollbutton-display-model: none;
--uc-scrollbox-max-height: calc(var(--tab-min-height) * var(--multirow-n-rows)); --uc-scrollbox-max-height: calc(var(--tab-min-height) * var(--multirow-n-rows));
} }
:root[inFullscreen] .scrollbox-clip[orient="horizontal"]:not(:hover),
:root[inFullscreen] #tabbrowser-arrowscrollbox:not(:hover){ --uc-scrollbox-max-height: 1px; min-height: 1px !important; } :root[inFullscreen] #tabbrowser-arrowscrollbox:not(:hover){ --uc-scrollbox-max-height: 1px; min-height: 1px !important; }
.tabbrowser-tab{ height: var(--tab-min-height); } .tabbrowser-tab{ height: var(--tab-min-height); }