mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 10:16:00 +00:00
Prevent layout shifts when scrollbar (dis)appears
This commit is contained in:
1 parent
ce0a4081fa
commit
70d1bfefbd
1 file changed
+4
@@ -1,3 +1,7 @@
|
||||
html {
|
||||
scrollbar-gutter: stable; /* Prevent layout shift when scrollbar appears */
|
||||
}
|
||||
|
||||
:root {
|
||||
/* Light theme variables */
|
||||
--bg-primary: #f5f5f5;
|
||||
|
||||
Reference in new issue
Block a user