From ef3e57bd5a49a29ec14163f493bb0087f119d6d2 Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Sun, 5 Apr 2026 14:12:33 -0400 Subject: [PATCH] fix: prevent ride count overflow in park column on smaller displays Let the park name side flex-shrink (minWidth:0, flex:1) so the ride count always fits in the row without overflowing its column. Co-Authored-By: Claude Sonnet 4.6 --- components/WeekCalendar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/WeekCalendar.tsx b/components/WeekCalendar.tsx index e78f984..765f66d 100644 --- a/components/WeekCalendar.tsx +++ b/components/WeekCalendar.tsx @@ -228,7 +228,7 @@ function ParkRow({ padding: "10px 14px", gap: 10, }}> -
+
{park.name} @@ -251,7 +251,7 @@ function ParkRow({
{rideCounts?.[park.id] !== undefined && ( -
+
{rideCounts[park.id]} {coastersOnly ? (rideCounts[park.id] === 1 ? "coaster" : "coasters") : (rideCounts[park.id] === 1 ? "ride" : "rides")} operating