From 29b80e304ebec681f4a728a9dfbedf272907a8e7 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Sun, 8 Mar 2026 16:02:47 -0400 Subject: [PATCH] Add `modal={false}` to Select/DropdownMenu and polish cast carousel layout - Set `modal={false}` on all Select and DropdownMenu instances to prevent scroll lock and backdrop interference when opened inside scrollable or fixed-position containers - Reduce cast carousel card gap from `gap-4` to `gap-1` and switch actor name from `line-clamp-2` to `truncate` for a tighter layout - Fix backup schedule description layout: move `suppressHydrationWarning` to wrapper span, add margin to inline SelectTrigger, use `!h-auto` to override default height --- .../dashboard/_components/stats-display.tsx | 1 + .../people/[id]/_components/filmography-grid.tsx | 1 + .../_components/backup-schedule-section.tsx | 15 +++++++++------ .../titles/[id]/_components/cast-carousel.tsx | 4 ++-- components/nav-bar.tsx | 2 +- 5 files changed, 14 insertions(+), 9 deletions(-) diff --git a/app/(pages)/dashboard/_components/stats-display.tsx b/app/(pages)/dashboard/_components/stats-display.tsx index 6987376..69934b4 100644 --- a/app/(pages)/dashboard/_components/stats-display.tsx +++ b/app/(pages)/dashboard/_components/stats-display.tsx @@ -95,6 +95,7 @@ function PeriodSelector({ v && changeMaxRetention(Number(v))} + modal={false} > - + {(value: string | null) => value === "0" @@ -319,6 +320,7 @@ export function BackupScheduleSection({ onValueChange={(v) => v && changeSchedule(frequency, time, Number(v)) } + modal={false} > @@ -361,6 +363,7 @@ export function BackupScheduleSection({