Fix overflow
This commit is contained in:
parent
01818584b7
commit
0228a6b6ae
|
@ -9,7 +9,7 @@ type DecodedABIProps = {
|
|||
const DecodedABI: React.FC<DecodedABIProps> = ({ abi }) => {
|
||||
const intf = new Interface(abi);
|
||||
return (
|
||||
<div className="border">
|
||||
<div className="border overflow-x-auto">
|
||||
{intf.fragments.map((f, i) => (
|
||||
<DecodedFragment key={i} intf={intf} fragment={f} />
|
||||
))}
|
||||
|
|
|
@ -43,7 +43,7 @@ const DecodedFragment: React.FC<DecodedFragmentProps> = ({
|
|||
}
|
||||
|
||||
return (
|
||||
<div className="flex items-baseline space-x-2 px-2 py-1 hover:bg-gray-100">
|
||||
<div className="flex flex-wrap items-baseline space-x-2 px-2 py-1 hover:bg-gray-100">
|
||||
<span className="text-gray-500">
|
||||
<FontAwesomeIcon icon={faCaretRight} size="1x" />
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue