fix: use overflow-y:overlay so scrollbar doesn't shift layout
Removes scrollbar-gutter:stable which pushed content left. overlay scrollbar floats over content with zero layout impact. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>claude/bold-hawking
parent
ef5d9fed0f
commit
81d673a3e8
|
|
@ -64,15 +64,12 @@
|
||||||
@layer base {
|
@layer base {
|
||||||
html {
|
html {
|
||||||
overflow-x: clip;
|
overflow-x: clip;
|
||||||
scrollbar-gutter: stable;
|
overflow-y: overlay;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
overflow-x: clip;
|
overflow-x: clip;
|
||||||
@apply font-sans text-slate-800 bg-slate-50 antialiased;
|
@apply font-sans text-slate-800 bg-slate-50 antialiased;
|
||||||
}
|
}
|
||||||
#root {
|
|
||||||
overflow-x: clip;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
@apply font-serif text-primary-900;
|
@apply font-serif text-primary-900;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue