Add bg hover color to token transfer list

This commit is contained in:
Willian Mitsuda 2021-07-19 00:55:21 -03:00
parent 1853079881
commit 71e35129ba
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ const TokenTransferItem: React.FC<TokenTransferItemProps> = ({
t,
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">
<FontAwesomeIcon icon={faCaretRight} size="1x" />
</span>

View File

@ -103,7 +103,7 @@ const Details: React.FC<DetailsProps> = ({
</InfoRow>
{txData.tokenTransfers.length > 0 && (
<InfoRow title={`Tokens Transferred (${txData.tokenTransfers.length})`}>
<div className="space-y-2">
<div>
{txData.tokenTransfers.map((t, i) => (
<TokenTransferItem key={i} t={t} tokenMetas={txData.tokenMetas} />
))}