Use scrollbar-gutter in multi-row tabs and bookmarks
This should prevent the appearing/disappearing scrollbar from reflowing content.
This commit is contained in:
parent
e98c0b62a5
commit
76f260269d
3 changed files with 4 additions and 1 deletions
|
@ -20,7 +20,8 @@ See the above repository for updates as well as full license text. */
|
|||
/* --uc-bm-padding is defined in autohide_bookmarks_toolbar.css */
|
||||
max-height: calc(var(--multirow-bmb-n-rows) * (4px + 1em + (2 * (var(--multirow-bmb-row-margin) + var(--uc-bm-padding,var(--bookmark-block-padding)))))) !important;
|
||||
overflow-y:auto;
|
||||
scrollbar-color: var(--lwt-accent-color) var(--toolbar-bgcolor) ;
|
||||
scrollbar-color: var(--lwt-accent-color) var(--toolbar-bgcolor);
|
||||
scrollbar-gutter: stable;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
|
|
|
@ -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(--tab-block-margin,0px)) * var(--multirow-n-rows));
|
||||
scrollbar-color: currentColor transparent;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-gutter: stable;
|
||||
scroll-snap-type: y mandatory;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -178,6 +178,7 @@ See the above repository for updates as well as full license text. */
|
|||
max-height: var(--uc-scrollbox-max-height,1px);
|
||||
scrollbar-color: currentColor transparent;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-gutter: stable;
|
||||
scroll-snap-type: y mandatory;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue