diff --git a/css/main.css b/css/main.css index 791a82c..8f1cca2 100644 --- a/css/main.css +++ b/css/main.css @@ -1066,8 +1066,7 @@ body:has(.friend-grid) { /* FIX: terminal height — respect short landscape viewports */ .terminal { width: 94vw; - min-height: 0; - max-height: clamp(300px, 65dvh, 70vh); + height: clamp(300px, 65dvh, 70vh); } } @@ -1530,8 +1529,9 @@ details.waka-section[open]>summary.section-title::after { position: relative; z-index: 1; width: min(92vw, 600px); - min-height: min(62vh, 460px); - max-height: 76vh; + /* locked height — the box must not resize between boot and ready, or as + command output is appended (the inner .t-output scrolls instead) */ + height: min(62vh, 460px); display: flex; flex-direction: column; padding: 1rem 1.15rem 1.15rem; @@ -1596,6 +1596,7 @@ body:has(.terminal) .hub .terminal { .t-main { display: flex; flex-direction: column; + flex: 1; /* fill the fixed-height terminal so .t-output scrolls */ min-height: 0; } @@ -1774,8 +1775,7 @@ body:has(.button-page) .hub { @media (max-width: 640px) { .terminal { width: 94vw; - min-height: 0; - max-height: clamp(300px, 65dvh, 70vh); + height: clamp(300px, 65dvh, 70vh); } .button-wall {