repl: drop body overflow + min-height — no scrollbar when content fits viewport
This commit is contained in:
parent
3aff621766
commit
07033cd96f
2 changed files with 8 additions and 12 deletions
|
|
@ -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 ──────────────────────────────────────── */
|
||||
|
|
|
|||
|
|
@ -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 ──────────────────────────────────────── */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue