Fix overflow

This commit is contained in:
Willian Mitsuda 2021-10-25 14:49:17 -03:00
parent 01818584b7
commit 0228a6b6ae
2 changed files with 2 additions and 2 deletions

View File

@ -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} />
))}

View File

@ -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>