From 4993b5338c539e3858a3aa560c8cf2b4bfb73992 Mon Sep 17 00:00:00 2001 From: dotta Date: Sat, 4 Apr 2026 12:48:32 -0500 Subject: [PATCH] Fix horizontal scroll overflow in close workspace modal Root cause: CSS Grid items default to min-width:auto, allowing content to push the dialog wider than the viewport on mobile. - Add [&>*]:min-w-0 on DialogContent to prevent grid children from expanding beyond the container width - Keep overflow-x-hidden as safety net - Remove negative-margin sticky footer that extended beyond bounds - Revert to standard DialogFooter without negative margins Co-Authored-By: Paperclip --- ui/src/components/ExecutionWorkspaceCloseDialog.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/src/components/ExecutionWorkspaceCloseDialog.tsx b/ui/src/components/ExecutionWorkspaceCloseDialog.tsx index c3ae8858..78c09562 100644 --- a/ui/src/components/ExecutionWorkspaceCloseDialog.tsx +++ b/ui/src/components/ExecutionWorkspaceCloseDialog.tsx @@ -88,7 +88,7 @@ export function ExecutionWorkspaceCloseDialog({ { if (!closeWorkspace.isPending) onOpenChange(nextOpen); }}> - + {actionLabel} @@ -252,7 +252,7 @@ export function ExecutionWorkspaceCloseDialog({
{action.label}
{action.description}
{action.command ? ( -
+                      
                         {action.command}
                       
) : null} @@ -291,7 +291,7 @@ export function ExecutionWorkspaceCloseDialog({ ) : null} - +