diff --git a/src/routes/v2/pages/Tangent/components/AttachAgentButton.tsx b/src/routes/v2/pages/Tangent/components/AttachAgentButton.tsx
index e0c3fc057..131670021 100644
--- a/src/routes/v2/pages/Tangent/components/AttachAgentButton.tsx
+++ b/src/routes/v2/pages/Tangent/components/AttachAgentButton.tsx
@@ -96,7 +96,7 @@ function AttachAgentDialog({
diff --git a/src/routes/v2/shared/components/CommandBlock.tsx b/src/routes/v2/shared/components/CommandBlock.tsx
index 7716fbfd9..eb7ffd0f5 100644
--- a/src/routes/v2/shared/components/CommandBlock.tsx
+++ b/src/routes/v2/shared/components/CommandBlock.tsx
@@ -1,15 +1,16 @@
import { InlineStack } from "@/components/ui/layout";
import { Text } from "@/components/ui/typography";
+import { cn } from "@/lib/utils";
import { CopyValueButton } from "@/routes/v2/shared/components/CopyValueButton";
export function CommandBlock({
command,
- contained = false,
+ wrap = false,
trackingId,
trackingMetadata,
}: {
command: string;
- contained?: boolean;
+ wrap?: boolean;
trackingId?: string;
trackingMetadata?: Record;
}) {
@@ -20,29 +21,18 @@ export function CommandBlock({
wrap="nowrap"
className="w-full min-w-0 rounded-md border border-border bg-muted px-3 py-2"
>
- {contained ? (
- // Absolutely positioned so the long command never contributes to the
- // intrinsic width of the dialog's nested grids, which would otherwise
- // stretch the whole dialog wider than its box. The command then scrolls
- // horizontally within the fixed-width container instead.
-
-
- {command}
-
-
- ) : (
-
- {command}
-
- )}
+
+ {command}
+
command}
trackingId={trackingId}