UI adjustments
This commit is contained in:
parent
04fdd74a94
commit
0179b40eaf
|
@ -20,7 +20,7 @@ const DecodedParamsTable: React.FC<DecodedParamsTableProps> = ({
|
||||||
<thead>
|
<thead>
|
||||||
<tr className="grid grid-cols-12 text-left gap-x-2 py-2 bg-gray-100">
|
<tr className="grid grid-cols-12 text-left gap-x-2 py-2 bg-gray-100">
|
||||||
<th className="col-span-3 pl-1">
|
<th className="col-span-3 pl-1">
|
||||||
param <span className="text-gray-400 text-xs">(index)</span>
|
name <span className="text-gray-400 text-xs">(index)</span>
|
||||||
</th>
|
</th>
|
||||||
<th className="col-span-1">type</th>
|
<th className="col-span-1">type</th>
|
||||||
<th className="col-span-8 pr-1">value</th>
|
<th className="col-span-8 pr-1">value</th>
|
||||||
|
|
|
@ -42,7 +42,8 @@ const LogEntry: React.FC<LogEntryProps> = ({ txData, log, logDesc }) => (
|
||||||
</div>
|
</div>
|
||||||
<Tab.Group>
|
<Tab.Group>
|
||||||
<Tab.List className="grid grid-cols-12 gap-x-3 gap-y-5 text-sm">
|
<Tab.List className="grid grid-cols-12 gap-x-3 gap-y-5 text-sm">
|
||||||
<div className="col-start-2 col-span-11 flex space-x-1 mb-1">
|
<div className="text-right">Parameters</div>
|
||||||
|
<div className="col-span-11 flex space-x-1 mb-1">
|
||||||
<ModeTab>Decoded</ModeTab>
|
<ModeTab>Decoded</ModeTab>
|
||||||
<ModeTab>Raw</ModeTab>
|
<ModeTab>Raw</ModeTab>
|
||||||
</div>
|
</div>
|
||||||
|
@ -52,14 +53,12 @@ const LogEntry: React.FC<LogEntryProps> = ({ txData, log, logDesc }) => (
|
||||||
{logDesc && (
|
{logDesc && (
|
||||||
<>
|
<>
|
||||||
<div className="grid grid-cols-12 gap-x-3 gap-y-5 text-sm">
|
<div className="grid grid-cols-12 gap-x-3 gap-y-5 text-sm">
|
||||||
<div className="text-right">Signature</div>
|
<div className="col-start-2 flex space-x-2 items-center col-span-11 font-mono">
|
||||||
<div className="flex space-x-2 items-center col-span-11 font-mono">
|
|
||||||
<DecodedLogSignature event={logDesc.eventFragment} />
|
<DecodedLogSignature event={logDesc.eventFragment} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="grid grid-cols-12 gap-x-3 gap-y-5 text-sm">
|
<div className="grid grid-cols-12 gap-x-3 gap-y-5 text-sm">
|
||||||
<div className="text-right">Name</div>
|
<div className="col-start-2 flex space-x-2 items-center col-span-11">
|
||||||
<div className="flex space-x-2 items-center col-span-11">
|
|
||||||
<DecodedParamsTable
|
<DecodedParamsTable
|
||||||
args={logDesc.args}
|
args={logDesc.args}
|
||||||
paramTypes={logDesc.eventFragment.inputs}
|
paramTypes={logDesc.eventFragment.inputs}
|
||||||
|
|
Loading…
Reference in New Issue