fix: contain all overflowing blobs within viewport
- Modules.tsx: wrap blobs in overflow-clip container, use max-w instead
of min-w to prevent viewport overflow
- index.css: add #root { overflow-x:clip; max-width:100vw } as final
safety net — no child element can expand beyond viewport
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
71c56783ed
commit
2b7494305a
2 files changed
+11
-5
No files matched your search
@@ -69,6 +69,10 @@
|
||||
overflow-x: clip;
|
||||
@apply font-sans text-slate-800 bg-slate-50 antialiased;
|
||||
}
|
||||
#root {
|
||||
overflow-x: clip;
|
||||
max-width: 100vw;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
@apply font-serif text-primary-900;
|
||||
|
||||
Reference in new issue
Block a user