Skip to content

Commit

Permalink
add overflow-x-auto to Tuple nd TupleArray
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Feb 21, 2024
1 parent 2015818 commit b6feb5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/nextjs/components/scaffold-eth/Contract/Tuple.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const Tuple = ({ abiTupleParameter, setParentForm, parentStateObjectKey }

return (
<div>
<div className="collapse collapse-arrow pl-4 py-1.5 border-2 border-secondary">
<div className="collapse collapse-arrow pl-4 py-1.5 border-2 border-secondary overflow-x-auto">
<input type="checkbox" className="min-h-fit peer" />
<div className="collapse-title p-0 min-h-fit peer-checked:mb-2 text-secondary-content/70">
<p className="m-0 p-0 text-[1rem]">{abiTupleParameter.internalType}</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const TupleArray = ({ abiTupleParameter, setParentForm, parentStateObject

return (
<div>
<div className="collapse collapse-arrow pl-4 py-1.5 border-2 border-secondary">
<div className="collapse collapse-arrow pl-4 py-1.5 border-2 border-secondary overflow-x-auto">
<input type="checkbox" className="min-h-fit peer" />
<div className="collapse-title p-0 min-h-fit peer-checked:mb-1 text-secondary-content/70">
<p className="m-0 text-[1rem]">{abiTupleParameter.internalType}</p>
Expand Down

0 comments on commit b6feb5a

Please sign in to comment.