style: move user-confirm control under the header's hold-time display

Repositions #user-confirm-row from the header's own row to directly
under #header-countdown's "hold" row, sharing a new #countdown-confirm-
col column so header-countdown's 'hidden' toggle (only shown once a
step is active) doesn't hide the confirm control along with it - a
WAIT_USER confirm can happen before that countdown is visible.

Kept the max-width + wrap safety (now min(60vw, 20em)) so a long
confirmation message still wraps instead of pushing the header sideways
on an iPad's narrower viewport, per the earlier upper-right-corner
placement this replaces.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M2ierBoxW3v7nUbDw3M2pE
This commit is contained in:
2026-07-06 12:19:04 +02:00
co-authored by Claude Sonnet 5
parent 3b34f52bb0
commit 07c3f0a7d1
2 changed files with 26 additions and 9 deletions
+16 -1
View File
@@ -83,14 +83,29 @@ header#connection-bar {
/* --- User-confirm control (replaces a modal OK dialog) --- */
/* Sits directly under the hold-time row of #header-countdown (the two
share this column so #header-countdown's own 'hidden' toggle doesn't
hide the confirm row along with it - a WAIT_USER confirm can happen
before the countdown ever becomes visible). max-width + wrapping keeps
a long message from overflowing off-screen on an iPad's tighter
viewport (~768-834 CSS px in portrait) instead of just widening the
whole header sideways. */
#countdown-confirm-col {
display: flex;
flex-direction: column;
gap: 0.3em;
}
#user-confirm-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.6em;
gap: 0.4em;
max-width: min(60vw, 20em);
}
#user-confirm-text {
color: var(--yellow);
font-weight: bold;
font-size: 0.9em;
}
#btn-user-confirm {
font-weight: bold;