Skip to content

Commit 3948c25

Browse files
committed
fix(web): wrap composer approval details
1 parent a418075 commit 3948c25

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎apps/web/src/components/chat/ComposerPendingApprovalPanel.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ export const ComposerPendingApprovalPanel = memo(function ComposerPendingApprova
5151
<Detail
5252
aria-label={detailAriaLabel}
5353
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",
5555
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",
5858
)}
5959
data-approval-detail="complete"
6060
tabIndex={0}

0 commit comments

Comments
 (0)