Skip to content

Commit 8fb368d

Browse files
authored
feat(ui): add max height constraint to MCP execution response (#4644)
1 parent fc82485 commit 8fb368d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webview-ui/src/components/chat/McpExecution.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,8 @@ const ResponseContainerInternal = ({
313313
return (
314314
<div
315315
className={cn("overflow-hidden", {
316-
"max-h-[100%] mt-1 pt-1 border-t border-border/25": hasArguments,
317-
"max-h-[100%] mt-1 pt-1": !hasArguments,
316+
"max-h-96 overflow-y-auto mt-1 pt-1 border-t border-border/25": hasArguments,
317+
"max-h-96 overflow-y-auto mt-1 pt-1": !hasArguments,
318318
})}>
319319
{isJson ? (
320320
<CodeBlock source={response} language="json" />

0 commit comments

Comments
 (0)