Use stable scroll-gutter
Reserve space for the scrollbar to prevent horsontal layout shift of the page when navigating from a page with a scrollbar to one without.
This commit is contained in:
parent
d003ea01d0
commit
cf3610f6ff
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ textarea:not([rows]) {
|
||||||
html {
|
html {
|
||||||
color-scheme: light dark;
|
color-scheme: light dark;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
|
scrollbar-gutter: stable;
|
||||||
}
|
}
|
||||||
|
|
||||||
hgroup h1 {
|
hgroup h1 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue