apply scroll-snap to tabs
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user