From 81e7aa284ea3de7c7037c843d16fe719128251be Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 25 May 2026 04:01:50 +0200 Subject: [PATCH] fix(ui-sheet): widen default Sheet width sm:max-w-sm -> sm:max-w-md, +lg:max-w-xl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Locked decision from the audit: bump every Sheet width uniformly so content-dense drawers (EoiGenerateDialog, InterestForm, ClientForm, …) get more horizontal room without per-site overrides. Adds a lg:max-w-xl tier so wide viewports get extra breathing room while the sm tier stays tight on tablets. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/components/ui/sheet.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ui/sheet.tsx b/src/components/ui/sheet.tsx index 2e3db234..9809144c 100644 --- a/src/components/ui/sheet.tsx +++ b/src/components/ui/sheet.tsx @@ -38,9 +38,9 @@ const sheetVariants = cva( top: 'inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top', bottom: 'inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom', - left: 'inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm', + left: 'inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-md lg:max-w-xl', right: - 'inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm', + 'inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-md lg:max-w-xl', }, }, defaultVariants: {