Use scrollbar-gutter in multi-row tabs and bookmarks
This should prevent the appearing/disappearing scrollbar from reflowing content.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user