Use a stable scroll gutter
All checks were successful
/ build (push) Successful in 1m32s
/ deploy (push) Successful in 16s

Prevent horizontal page shifts when switching tabs due to the scrollbar
changing visibility.
This commit is contained in:
Hornwitser 2025-06-18 00:24:51 +02:00
parent 6ef3800a53
commit bfb9acaa78

View file

@ -1,4 +1,5 @@
:root {
scrollbar-gutter: stable both-edges;
--background: #ffffff;
--foreground: #171717;
}
@ -11,7 +12,7 @@
}
body {
padding-inline: 1rem;
padding-inline: 0.3rem;
color: var(--foreground);
background: var(--background);
font-family: Arial, Helvetica, sans-serif;