From 3b18e5c8ecb665a5d27d3d64724074f9e63220d8 Mon Sep 17 00:00:00 2001 From: Luis Novo Date: Mon, 16 Feb 2026 14:46:48 -0300 Subject: [PATCH] fix: prevent dialog content overflow with long unbroken strings Long strings without spaces caused the Add Source dialog to expand beyond the viewport due to field-sizing-content on textareas propagating width through CSS grid/flex layout. Add min-w-0 to Textarea, WizardContainer content layers, and the AddSourceDialog form to prevent flex/grid items from expanding to fit content. Add overflow-hidden to base DialogContent as a safeguard. --- frontend/src/components/sources/AddSourceDialog.tsx | 2 +- frontend/src/components/ui/dialog.tsx | 2 +- frontend/src/components/ui/textarea.tsx | 2 +- frontend/src/components/ui/wizard-container.tsx | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/sources/AddSourceDialog.tsx b/frontend/src/components/sources/AddSourceDialog.tsx index a49b2d4..3f31adb 100644 --- a/frontend/src/components/sources/AddSourceDialog.tsx +++ b/frontend/src/components/sources/AddSourceDialog.tsx @@ -542,7 +542,7 @@ export function AddSourceDialog({ -
+ ) {