This commit is contained in:
Clove 2026-06-18 21:56:39 +01:00
parent ec30e4ccb2
commit 10f06dc497
1 changed files with 6 additions and 6 deletions

View File

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