Improve creator/tx display UI
This commit is contained in:
parent
22a0bc5888
commit
4b6910d2a1
|
@ -131,17 +131,19 @@ const AddressTransactionResults: React.FC<AddressTransactionResultsProps> = ({
|
||||||
<SelectionContext.Provider value={selectionCtx}>
|
<SelectionContext.Provider value={selectionCtx}>
|
||||||
{balance && (
|
{balance && (
|
||||||
<InfoRow title="Balance">
|
<InfoRow title="Balance">
|
||||||
<FormattedBalance value={balance} /> Ether{" "}
|
<FormattedBalance value={balance} /> Ether
|
||||||
</InfoRow>
|
</InfoRow>
|
||||||
)}
|
)}
|
||||||
{creator && (
|
{creator && (
|
||||||
<InfoRow title="Contract creator">
|
<InfoRow title="Contract creator">
|
||||||
<div className="flex items-baseline space-x-2 -ml-1">
|
<div className="flex divide-x-2 divide-dotted divide-gray-300">
|
||||||
<TransactionAddress address={creator.creator} />
|
<div className="flex items-baseline space-x-2 -ml-1 mr-3">
|
||||||
<Copy value={creator.creator} />
|
<TransactionAddress address={creator.creator} />
|
||||||
<span className="text-gray-400 text-xs">at</span>
|
<Copy value={creator.creator} />
|
||||||
<span>tx:</span>
|
</div>
|
||||||
<TransactionLink txHash={creator.hash} />
|
<div className="flex items-baseline pl-3">
|
||||||
|
<TransactionLink txHash={creator.hash} />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</InfoRow>
|
</InfoRow>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in New Issue