fuzzyworld

dm / commit

fix: creation screen scrolls to bottom on small viewports

66a0abe97afc752d971602d8790d58aab29a0623 · Pavel Safronov · 2026-05-27 15:32:31 -0700 · parents bdebbc321fec

fix: creation screen scrolls to bottom on small viewports

min-height: 100vh on a flex child of height: 100vh body doesn't create
a scroll container — the element expands beyond the viewport and clips.
Changed to height: 100vh so overflow-y: auto engages correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
 public/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/index.html b/public/index.html
index 27169c9..96dbc63 100644
--- a/public/index.html
+++ b/public/index.html
@@ -48,7 +48,7 @@ body {
   flex-direction: column;
   align-items: center;
   justify-content: flex-start;
-  min-height: 100vh;
+  height: 100vh;
   overflow-y: auto;
   padding: 40px 20px 60px;
   background: