repl: drop body overflow + min-height — no scrollbar when content fits viewport

This commit is contained in:
russell@unturf.com 2026-06-14 15:46:16 -04:00
parent 3aff621766
commit 07033cd96f
No known key found for this signature in database
2 changed files with 8 additions and 12 deletions

View file

@ -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 ──────────────────────────────────────── */

View file

@ -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 ──────────────────────────────────────── */