From c738f89f7774d1066f7571ff4372fcb22fdaabf5 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sun, 21 Mar 2021 11:11:40 +0200 Subject: [PATCH] add proton tab block margin to tabs --- chrome/multi-row_tabs_below_content.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/multi-row_tabs_below_content.css b/chrome/multi-row_tabs_below_content.css index b5c4ae5..6a7a59b 100644 --- a/chrome/multi-row_tabs_below_content.css +++ b/chrome/multi-row_tabs_below_content.css @@ -149,13 +149,13 @@ See the above repository for updates as well as full license text. */ overflow: -moz-hidden-unscrollable; display: block; --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) + 2 * var(--proton-tab-block-margin,0px)) * 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); } + .tabbrowser-tab{ height: calc((var(--tab-min-height) + 2 * var(--proton-tab-block-margin,0px))) !important; } .tabbrowser-tab[pinned]{ position: static !important;