From f809f9171b87ce01924a12c26d8c19e9b829bad5 Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Sun, 5 Apr 2026 14:25:52 -0400 Subject: [PATCH] fix: scale park column text with viewport width using clamp() Park name, city/state, and ride count all use clamp() so they shrink proportionally on smaller displays without truncating or overflowing. Co-Authored-By: Claude Sonnet 4.6 --- components/WeekCalendar.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/WeekCalendar.tsx b/components/WeekCalendar.tsx index 3634e56..8ee358b 100644 --- a/components/WeekCalendar.tsx +++ b/components/WeekCalendar.tsx @@ -230,7 +230,7 @@ function ParkRow({ }}>
- + {park.name} {rideCounts?.[park.id] !== undefined && ( @@ -246,12 +246,12 @@ function ParkRow({ }} /> )}
-
+
{park.location.city}, {park.location.state}
{rideCounts?.[park.id] !== undefined && ( -
+
{rideCounts[park.id]} {coastersOnly ? (rideCounts[park.id] === 1 ? "coaster" : "coasters") : (rideCounts[park.id] === 1 ? "ride" : "rides")} operating