diff --git a/web/index.html b/web/index.html index 84b4379..ed28087 100644 --- a/web/index.html +++ b/web/index.html @@ -17,10 +17,16 @@ - @@ -30,10 +36,6 @@ -
- - -
diff --git a/web/style.css b/web/style.css index 2cbbbba..bfbe989 100644 --- a/web/style.css +++ b/web/style.css @@ -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;