Skip to content

Commit

Permalink
Prevent overflow of long values without whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinnl committed Oct 3, 2023
1 parent b72ca6f commit 9004814
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/viewers/ObjectViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ export const ObjectViewer = (props: Props) => {
return (
<div className="flex p-2">
{type}
<div className="flex-grow bg-white p-2 rounded-lg">{props.children}</div>
<div className="flex-grow overflow-x-auto w-0 bg-white p-2 rounded-lg">
{props.children}
</div>
{options}
</div>
);
Expand Down

0 comments on commit 9004814

Please sign in to comment.