Add bg hover color to token transfer list
This commit is contained in:
parent
1853079881
commit
71e35129ba
@ -16,7 +16,7 @@ const TokenTransferItem: React.FC<TokenTransferItemProps> = ({
|
|||||||
t,
|
t,
|
||||||
tokenMetas,
|
tokenMetas,
|
||||||
}) => (
|
}) => (
|
||||||
<div className="flex items-baseline space-x-2 truncate">
|
<div className="flex items-baseline space-x-2 px-2 py-1 truncate hover:bg-gray-100">
|
||||||
<span className="text-gray-500">
|
<span className="text-gray-500">
|
||||||
<FontAwesomeIcon icon={faCaretRight} size="1x" />
|
<FontAwesomeIcon icon={faCaretRight} size="1x" />
|
||||||
</span>
|
</span>
|
||||||
|
@ -103,7 +103,7 @@ const Details: React.FC<DetailsProps> = ({
|
|||||||
</InfoRow>
|
</InfoRow>
|
||||||
{txData.tokenTransfers.length > 0 && (
|
{txData.tokenTransfers.length > 0 && (
|
||||||
<InfoRow title={`Tokens Transferred (${txData.tokenTransfers.length})`}>
|
<InfoRow title={`Tokens Transferred (${txData.tokenTransfers.length})`}>
|
||||||
<div className="space-y-2">
|
<div>
|
||||||
{txData.tokenTransfers.map((t, i) => (
|
{txData.tokenTransfers.map((t, i) => (
|
||||||
<TokenTransferItem key={i} t={t} tokenMetas={txData.tokenMetas} />
|
<TokenTransferItem key={i} t={t} tokenMetas={txData.tokenMetas} />
|
||||||
))}
|
))}
|
||||||
|
Loading…
Reference in New Issue
Block a user