fix: add horizontal scrolling for long values in json view
This commit is contained in:
parent
94d98ec56e
commit
c5fda85c20
1 changed files with 6 additions and 1 deletions
|
|
@ -55,7 +55,12 @@ const JsonView = memo(
|
|||
}, [toast, normalizedData, setCopied]);
|
||||
|
||||
return (
|
||||
<div className={clsx("p-4 border rounded relative", className)}>
|
||||
<div
|
||||
className={clsx(
|
||||
"p-4 border overflow-x-auto rounded relative",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
{withCopyButton && (
|
||||
<Button
|
||||
size="icon"
|
||||
|
|
|
|||
Loading…
Reference in a new issue