apply scroll-snap to tabs

This commit is contained in:
MrOtherGuy
2021-04-19 12:48:59 +03:00
parent 34f44c8ce7
commit 595033c4c7
2 changed files with 10 additions and 2 deletions

View File

@@ -39,6 +39,7 @@ See the above repository for updates as well as full license text. */
max-height: calc((var(--tab-min-height) + 2 * var(--proton-tab-block-margin,0px)) * var(--multirow-n-rows));
scrollbar-color: currentColor transparent;
scrollbar-width: thin;
scroll-snap-type: y mandatory;
}
}
@@ -49,7 +50,10 @@ See the above repository for updates as well as full license text. */
--scrollbutton-display-model: none;
}
.tabbrowser-tab{ height: calc((var(--tab-min-height) + 2 * var(--proton-tab-block-margin,0px))) !important; }
.tabbrowser-tab{
height: calc((var(--tab-min-height) + 2 * var(--proton-tab-block-margin,0px))) !important;
scroll-snap-align: start;
}
#tabbrowser-tabs .tabbrowser-tab[pinned]{
position: static !important;