From 5f57d81ead559dde33d7b37c100d130734f306ba Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Fri, 6 Mar 2026 20:37:23 -0500 Subject: [PATCH] fix(launcher): stabilize session header height to prevent bouncing Root cause: flex-row flex-wrap on the session header caused the datetime and name to compete for the same row. Long session names (up to 300 chars) wrapped onto 2-3 lines while short names stayed 1 line, making the header jump in height every time the operator switched sessions. Fix: - header: flex-row flex-wrap -> flex-col; datetime and name are now always on separate rows, header height is predictable in both cases - h2 name: shrink -> grow line-clamp-2 min-w-0; height is always exactly 2 lines, never less, never more; full text accessible via title attribute - code badge: added shrink-0 so it is never squeezed by a long name - removed justify-between/justify-end conditional classes (no longer relevant) - Section 508: title attribute on h2 provides full text for screen readers --- .../(launcher)/launcher_session_view.svelte | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/routes/events/[event_id]/(launcher)/launcher_session_view.svelte b/src/routes/events/[event_id]/(launcher)/launcher_session_view.svelte index 7d36bc79..d4ec56ce 100644 --- a/src/routes/events/[event_id]/(launcher)/launcher_session_view.svelte +++ b/src/routes/events/[event_id]/(launcher)/launcher_session_view.svelte @@ -163,13 +163,19 @@ {/if} {#if $lq__event_session_obj && $lq__event_session_obj.event_session_id} +