Skip to content

Commit 9660a84

Browse files
committed
fix: prevent layout shift when Select component dropdown appears
1 parent 4cb35c4 commit 9660a84

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

site/src/index.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,9 @@
107107
--removed-body-scroll-bar-size: 0 !important;
108108
margin-right: 0 !important;
109109
}
110+
111+
/* Prevent layout shift when modals open by maintaining scrollbar width */
112+
html {
113+
scrollbar-gutter: stable;
114+
}
110115
}

0 commit comments

Comments
 (0)