UI: stabilize scrollbar gutter to reduce layout shifts

This commit is contained in:
Alexander Andreev 2026-02-21 15:08:40 +03:00
parent b64c3d9944
commit 29425d25f9

View File

@ -15,6 +15,16 @@
box-sizing: border-box;
}
html {
scrollbar-gutter: stable;
}
@supports not (scrollbar-gutter: stable) {
html {
overflow-y: scroll;
}
}
html, body {
margin: 0;
padding: 0;