From 2e38a1d5e37a2c1151a7e9874b25babe07797d8d Mon Sep 17 00:00:00 2001 From: Vitalij Dovhanyc <45185420+vdovhanych@users.noreply.github.com> Date: Sat, 30 May 2026 22:21:17 +0200 Subject: [PATCH] fix: constrain dialog panel height and make content scrollable (#556) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --- app/components/dialog.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/components/dialog.tsx b/app/components/dialog.tsx index 29e9537..b1d97e2 100644 --- a/app/components/dialog.tsx +++ b/app/components/dialog.tsx @@ -58,7 +58,8 @@ function Panel(props: DialogPanelProps) { return (
{ if (onSubmit) { onSubmit(event); @@ -77,8 +79,8 @@ function Panel(props: DialogPanelProps) { } }} > -
{children}
-
+
{children}
+
{variant === "unactionable" ? ( Close} /> ) : (