From 910d961dace9984cf229e5344ae83302e4846b60 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Sun, 31 May 2026 14:19:44 -0400 Subject: [PATCH] zebra-report: zebra-spaces mobile + host-rejoin fixes --- zebra-report/zebra-spaces.html | 88 +++++++++++++++++++++++----------- 1 file changed, 60 insertions(+), 28 deletions(-) diff --git a/zebra-report/zebra-spaces.html b/zebra-report/zebra-spaces.html index 4781f69..42e20ca 100644 --- a/zebra-report/zebra-spaces.html +++ b/zebra-report/zebra-spaces.html @@ -16,26 +16,38 @@ font-family: monospace; background: #fff; color: #000; padding: 2rem; max-width: 1440px; margin: 0 auto; } - /* two-column page: left = timeline (blank for now, ~50%), right = controls. - * stacks below 800px so the controls stay usable on a phone. */ + /* two-column page on desktop: left = timeline (1fr, takes remaining + * space — will host the running event feed once v0.3 lands), right = + * controls (capped at 520px so they never get awkwardly wide on a + * full-screen monitor). Both columns get min-width:0 so they shrink + * without forcing a horizontal scrollbar. */ .page { display: grid; - grid-template-columns: 1fr 1fr; + grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 2rem; align-items: start; } .timeline { border-right: 1px solid #ddd; padding-right: 2rem; min-height: 60vh; + min-width: 0; } + .controls { min-width: 0; } .timeline-placeholder { font-size: 0.8rem; color: #999; padding: 1rem 0; line-height: 1.6; } @media (max-width: 800px) { body { padding: 1.25rem; } - .page { grid-template-columns: 1fr; gap: 1rem; } - .timeline { border-right: none; border-bottom: 1px solid #ddd; - padding-right: 0; padding-bottom: 1rem; min-height: 0; } + /* stack on mobile, controls first, timeline below */ + .page { grid-template-columns: minmax(0, 1fr); gap: 1rem; } + .controls { order: 1; } + .timeline { order: 2; + border-right: none; border-top: 1px solid #ddd; + padding-right: 0; padding-top: 1rem; min-height: 0; } } + /* never let dynamically-appended