From 07033cd96f81531225a1aab6fe8900c930191128 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Sun, 14 Jun 2026 15:46:16 -0400 Subject: [PATCH] =?UTF-8?q?repl:=20drop=20body=20overflow=20+=20min-height?= =?UTF-8?q?=20=E2=80=94=20no=20scrollbar=20when=20content=20fits=20viewpor?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wasm/repl/repl.css | 10 ++++------ www/repl/repl.css | 10 ++++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/wasm/repl/repl.css b/wasm/repl/repl.css index 6cc0a75..5cdc8c7 100644 --- a/wasm/repl/repl.css +++ b/wasm/repl/repl.css @@ -1,12 +1,10 @@ /* lumbda repl — grid-only layout. Inherits palette + base from style.css. */ body.repl { - /* Body scrolls naturally. The prompt-bar is position: fixed so it - * stays glued to the viewport bottom; the transcript reserves bottom - * padding equal to the prompt-bar height so its last line isn't hidden - * underneath. */ - min-height: 100vh; - overflow: auto; + /* Plain document flow — no min-height, no overflow. The page scrolls + * naturally when content exceeds the viewport; the prompt-bar uses + * position: sticky so it stays glued to the bottom of the viewport in + * that case, and sits right under the transcript otherwise. */ } /* ─── Lock screen overlay ──────────────────────────────────────── */ diff --git a/www/repl/repl.css b/www/repl/repl.css index 6cc0a75..5cdc8c7 100644 --- a/www/repl/repl.css +++ b/www/repl/repl.css @@ -1,12 +1,10 @@ /* lumbda repl — grid-only layout. Inherits palette + base from style.css. */ body.repl { - /* Body scrolls naturally. The prompt-bar is position: fixed so it - * stays glued to the viewport bottom; the transcript reserves bottom - * padding equal to the prompt-bar height so its last line isn't hidden - * underneath. */ - min-height: 100vh; - overflow: auto; + /* Plain document flow — no min-height, no overflow. The page scrolls + * naturally when content exceeds the viewport; the prompt-bar uses + * position: sticky so it stays glued to the bottom of the viewport in + * that case, and sits right under the transcript otherwise. */ } /* ─── Lock screen overlay ──────────────────────────────────────── */