From be04e03239edcf6b2050303a720fac58595a38c3 Mon Sep 17 00:00:00 2001 From: Sergey Kozyrenko Date: Wed, 8 Jul 2026 01:43:52 +0700 Subject: [PATCH] fix(settings-prompt): widen the Diff dialog (max-w-7xl never applied on desktop) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Diff dialog passed a bare `max-w-7xl`, but DialogContent's default already sets `sm:max-w-lg`. tailwind-merge keeps both (different variants), and at ≥sm the `sm:` rule wins the cascade — so the dialog was pinned at 512px and the split diff overflowed with a horizontal scrollbar. Use `sm:max-w-7xl` so it overrides the default at the same breakpoint, matching the app's other wide dialogs. Verified live: the real Diff dialog now renders at 1280px with no horizontal scroll. Co-Authored-By: Claude Opus 4.8 --- frontend/src/pages/settings/settings-prompt.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/settings/settings-prompt.tsx b/frontend/src/pages/settings/settings-prompt.tsx index b3ec31f5..740fe16c 100644 --- a/frontend/src/pages/settings/settings-prompt.tsx +++ b/frontend/src/pages/settings/settings-prompt.tsx @@ -997,7 +997,7 @@ function SettingsPrompt() { onOpenChange={setIsDiffDialogOpen} open={isDiffDialogOpen} > - +