From 90317cc59b55f9f7927b239388e40f662fe51f01 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sat, 8 Aug 2020 16:36:09 +0300 Subject: [PATCH] Add .scrollbox-clip selectors to accompany #tabbrowser-arrowscrollbox --- chrome/multi-row_tabs.css | 1 + chrome/multi-row_tabs_below_content.css | 3 +++ 2 files changed, 4 insertions(+) diff --git a/chrome/multi-row_tabs.css b/chrome/multi-row_tabs.css index 0d14444..4019457 100644 --- a/chrome/multi-row_tabs.css +++ b/chrome/multi-row_tabs.css @@ -42,6 +42,7 @@ See the above repository for updates as well as full license text. */ } } +.scrollbox-clip[orient="horizontal"], #tabbrowser-arrowscrollbox{ overflow: -moz-hidden-unscrollable; display: block; diff --git a/chrome/multi-row_tabs_below_content.css b/chrome/multi-row_tabs_below_content.css index 4d86ae3..b5c4ae5 100644 --- a/chrome/multi-row_tabs_below_content.css +++ b/chrome/multi-row_tabs_below_content.css @@ -144,12 +144,15 @@ See the above repository for updates as well as full license text. */ scrollbar-width: thin; } + .scrollbox-clip[orient="horizontal"], #tabbrowser-arrowscrollbox{ overflow: -moz-hidden-unscrollable; display: block; --scrollbutton-display-model: none; --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; } .tabbrowser-tab{ height: var(--tab-min-height); }