mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-09 19:30:15 +00:00
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 */
|
/* --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;
|
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;
|
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;
|
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));
|
max-height: calc((var(--tab-min-height) + 2 * var(--tab-block-margin,0px)) * var(--multirow-n-rows));
|
||||||
scrollbar-color: currentColor transparent;
|
scrollbar-color: currentColor transparent;
|
||||||
scrollbar-width: thin;
|
scrollbar-width: thin;
|
||||||
|
scrollbar-gutter: stable;
|
||||||
scroll-snap-type: y mandatory;
|
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);
|
max-height: var(--uc-scrollbox-max-height,1px);
|
||||||
scrollbar-color: currentColor transparent;
|
scrollbar-color: currentColor transparent;
|
||||||
scrollbar-width: thin;
|
scrollbar-width: thin;
|
||||||
|
scrollbar-gutter: stable;
|
||||||
scroll-snap-type: y mandatory;
|
scroll-snap-type: y mandatory;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue