add proton tab block margin to tabs

This commit is contained in:
MrOtherGuy 2021-03-21 11:11:40 +02:00
parent 10b736a1f7
commit c738f89f77

View file

@ -149,13 +149,13 @@ See the above repository for updates as well as full license text. */
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) + 2 * var(--proton-tab-block-margin,0px)) * var(--multirow-n-rows));
} }
:root[inFullscreen] .scrollbox-clip[orient="horizontal"]:not(:hover), :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: calc((var(--tab-min-height) + 2 * var(--proton-tab-block-margin,0px))) !important; }
.tabbrowser-tab[pinned]{ .tabbrowser-tab[pinned]{
position: static !important; position: static !important;