From d3401c05180984a260af3d91c586ef431214af97 Mon Sep 17 00:00:00 2001 From: dotta Date: Sat, 4 Apr 2026 10:02:26 -0500 Subject: [PATCH] Fix horizontal scroll overflow in close workspace modal - Add overflow-x-hidden on DialogContent to prevent horizontal scroll - Truncate long monospace text (branch names, base refs) in git status grid - Add min-w-0 on grid cells to allow truncation within CSS grid - Add overflow-hidden on git status card and repo root section - Add max-w-full + overflow-x-auto on pre blocks for long commands Co-Authored-By: Paperclip --- .../ExecutionWorkspaceCloseDialog.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ui/src/components/ExecutionWorkspaceCloseDialog.tsx b/ui/src/components/ExecutionWorkspaceCloseDialog.tsx index 1f79d52a..c3ae8858 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} @@ -107,7 +107,7 @@ export function ExecutionWorkspaceCloseDialog({ {readinessQuery.error instanceof Error ? readinessQuery.error.message : "Failed to inspect workspace close readiness."} ) : readiness ? ( -
+
{readiness.state === "blocked" @@ -174,15 +174,15 @@ export function ExecutionWorkspaceCloseDialog({ {readiness.git ? (

Git status

-
+
-
+
Branch
-
{readiness.git.branchName ?? "Unknown"}
+
{readiness.git.branchName ?? "Unknown"}
-
+
Base ref
-
{readiness.git.baseRef ?? "Not set"}
+
{readiness.git.baseRef ?? "Not set"}
Merged into base
@@ -252,7 +252,7 @@ export function ExecutionWorkspaceCloseDialog({
{action.label}
{action.description}
{action.command ? ( -
+                      
                         {action.command}
                       
) : null} @@ -275,7 +275,7 @@ export function ExecutionWorkspaceCloseDialog({ ) : null} {readiness.git?.repoRoot ? ( -
+
Repo root: {readiness.git.repoRoot} {readiness.git.workspacePath ? ( <>