From 762605f04b2043af1da45b30cae0426aa4e33dbe Mon Sep 17 00:00:00 2001 From: Joel Brock Date: Mon, 11 May 2026 13:37:28 -0700 Subject: [PATCH] Compact the journey rail to reclaim form width MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Gutter shrinks from md:pl-20 (80px) to md:pl-12 (48px) — a 32px (40%) gain back to the form column. Markers, pulse halo, and 'Now' pill scale down to match so the rail still reads at a glance: - Marker container: -left-14 w-12 -> -left-9 w-7 - Past/future markers: h-6 -> h-5 - Current marker: h-7 ring-4 -> h-6 ring-2; rank label 11px -> 10px - 'Now' pill: 9px -> 8px; tracking and offset re-balanced for the shorter drop from the smaller marker bottom - Rail-pulse keyframe shadow radius: 8px -> 6px to suit the smaller disc --- app/globals.css | 2 +- components/EngagementForm.tsx | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/globals.css b/app/globals.css index a5833cd..7dc2a24 100644 --- a/app/globals.css +++ b/app/globals.css @@ -151,7 +151,7 @@ input[type="date"]::-webkit-calendar-picker-indicator { box-shadow: 0 0 0 0 oklch(72% 0.14 135 / 0.55); } 60% { - box-shadow: 0 0 0 8px oklch(72% 0.14 135 / 0); + box-shadow: 0 0 0 6px oklch(72% 0.14 135 / 0); } } diff --git a/components/EngagementForm.tsx b/components/EngagementForm.tsx index a84a430..cc6e595 100644 --- a/components/EngagementForm.tsx +++ b/components/EngagementForm.tsx @@ -299,7 +299,7 @@ export function EngagementForm({ config, cid, cs }: EngagementFormProps) { }} /> )} -
    +
      {sectionsToRender.map((entry, i) => { const { section, pathwayState, locked } = entry; const nextState = @@ -585,12 +585,12 @@ function RailMarker({ return (
      {nextState && ( {state === "current" && ( - + Now )} @@ -610,8 +610,8 @@ function RailMarker({ function MarkerCircle({ rank, state }: { rank: number; state: PathwayState }) { if (state === "past") { return ( - - + + Stage {rank} (completed) @@ -620,15 +620,15 @@ function MarkerCircle({ rank, state }: { rank: number; state: PathwayState }) { } if (state === "current") { return ( - + {rank} Stage {rank} (current) ); } return ( - - + +