fix: add horizontal scrolling for long values in json view

This commit is contained in:
Dinesht04 2026-04-04 15:41:24 +05:30
commit c5fda85c20

View file

@ -55,7 +55,12 @@ const JsonView = memo(
}, [toast, normalizedData, setCopied]); }, [toast, normalizedData, setCopied]);
return ( return (
<div className={clsx("p-4 border rounded relative", className)}> <div
className={clsx(
"p-4 border overflow-x-auto rounded relative",
className,
)}
>
{withCopyButton && ( {withCopyButton && (
<Button <Button
size="icon" size="icon"