feat(ui): add max height constraint to MCP execution response (#4644)

This commit is contained in:
Sam Hoang Van 2025-06-13 22:29:41 +07:00 committed by GitHub
parent fc82485563
commit 8fb368dd6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -313,8 +313,8 @@ const ResponseContainerInternal = ({
return (
<div
className={cn("overflow-hidden", {
"max-h-[100%] mt-1 pt-1 border-t border-border/25": hasArguments,
"max-h-[100%] mt-1 pt-1": !hasArguments,
"max-h-96 overflow-y-auto mt-1 pt-1 border-t border-border/25": hasArguments,
"max-h-96 overflow-y-auto mt-1 pt-1": !hasArguments,
})}>
{isJson ? (
<CodeBlock source={response} language="json" />