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

@@ -28,6 +28,10 @@ See the above repository for updates as well as full license text. */
}
@-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) }
#scrollbutton-up~spacer,
#scrollbutton-up,
#scrollbutton-down{ display: var(--scrollbutton-display-model,initial) }
@@ -36,7 +40,7 @@ See the above repository for updates as well as full license text. */
display: flex;
flex-wrap: wrap;
overflow-y: auto;
max-height: calc((var(--tab-min-height) + 2 * var(--proton-tab-block-margin,0px)) * var(--multirow-n-rows));
max-height: calc((var(--tab-min-height) + 2 * var(--tab-block-margin,0px)) * var(--multirow-n-rows));
scrollbar-color: currentColor transparent;
scrollbar-width: thin;
scroll-snap-type: y mandatory;