The best way to control Claude Code, Codex and more from any computer or phone
fix(web): long approval commands wrap inside the composer (#17802)
Exotic committed
Oct 18, 2026 at 22:14 UTC
e7308986cb9f9186e6830b21995d2dd8efe47150
1 file changed
+3
-3
apps/web/src/components/chat/ComposerPendingApprovalPanel.tsx
+3
-3
@@ -51,10 +51,10 @@ export const ComposerPendingApprovalPanel = memo(function ComposerPendingApprova
51
<Detail
52
aria-label={detailAriaLabel}
53
className={cn(
54
- "block max-h-20 w-full min-w-0 overflow-auto text-xs text-foreground [scrollbar-width:thin] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring/70 [&::-webkit-scrollbar]:h-1.5",
54
+ "block w-full min-w-0 overflow-auto text-xs text-foreground [scrollbar-width:thin] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring/70 [&::-webkit-scrollbar]:h-1.5",
55
approval.requestKind === "mcp-elicitation"
56
- ? "whitespace-pre-wrap font-sans wrap-break-word"
57
- : "whitespace-pre font-mono",
56
+ ? "max-h-20 whitespace-pre-wrap font-sans wrap-break-word"
57
+ : "max-h-40 whitespace-pre-wrap font-mono wrap-anywhere",
58
)}
59
data-approval-detail="complete"
60
tabIndex={0}