add temporary dummy variables for tab-block-margin

This commit is contained in:
MrOtherGuy
2021-06-05 00:17:16 +03:00
parent 753c37d010
commit 7db2c96530
14 changed files with 56 additions and 20 deletions

View File

@@ -17,7 +17,10 @@ See the above repository for updates as well as full license text. */
/* So this setting does nothing on Fx65 and all tab rows will be shown */
@-moz-document url(chrome://browser/content/browser.xhtml){
/* Dummy variable to support both versions 89-90 */
:root{ --tab-block-margin: var(--proton-tab-block-margin) }
:root{
--multirow-toolbar-height: 40px;
--multirow-top-padding: 0px;
@@ -150,14 +153,14 @@ 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) + 2 * var(--proton-tab-block-margin,0px)) * var(--multirow-n-rows));
--uc-scrollbox-max-height: calc((var(--tab-min-height) + 2 * var(--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: calc((var(--tab-min-height) + 2 * var(--proton-tab-block-margin,0px))) !important;
height: calc((var(--tab-min-height) + 2 * var(--tab-block-margin,0px))) !important;
scroll-snap-align: start;
}