Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(views): keep the step inspector reachable on phones (#9484)

hanshou101346f441b3b64
diff --git a/packages/views/common/task-transcript/agent-transcript-dialog.tsx b/packages/views/common/task-transcript/agent-transcript-dialog.tsx
index 9204b98a65..5cb98b2ef5 100644
--- a/packages/views/common/task-transcript/agent-transcript-dialog.tsx
+++ b/packages/views/common/task-transcript/agent-transcript-dialog.tsx
@@ -1743,7 +1743,10 @@ function StepInspector({
: t(($) => $.transcript.kind_error);
return (
- <aside className="flex w-[26rem] shrink-0 flex-col border-l bg-muted/25">
+ // Full width below md: on a phone the dialog is narrower than this pane, and
+ // a fixed 26rem pushed the header's close button past the clipped edge —
+ // the reader had no way back to the step list.
+ <aside className="flex w-full shrink-0 flex-col border-l-0 bg-muted/25 md:w-[26rem] md:border-l">
<div className="flex items-center gap-2 border-b px-3 py-2">
<StepIcon step={step} className="h-4 w-4 shrink-0 text-muted-foreground" />
<span className="shrink-0 text-label font-semibold">{title}</span>