Skip to content

Commit

Permalink
fix nftlistrow
Browse files Browse the repository at this point in the history
  • Loading branch information
kristiehuang committed Oct 19, 2023
1 parent d2b031a commit 9976170
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/nft/components/profile/list/NFTListRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const HideTextOverflow = css`
white-space: nowrap;
`

const TokenFromList = styled(Column)`
const TokenInfoWrapper = styled(Column)`
margin-right: 8px;
min-width: 0px;
`
Expand Down Expand Up @@ -152,13 +152,13 @@ export const NFTListRow = ({

<NFTInfoWrapper>
<NFTImage alt={asset.name} src={asset.imageUrl || '/nft/svgs/image-placeholder.svg'} />
<TokenFromList>
<TokenInfoWrapper>
<TokenName>{asset.name ? asset.name : `#${asset.tokenId}`}</TokenName>
<CollectionName>
{asset.collection?.name}
{asset.collectionIsVerified && <VerifiedIcon style={{ marginBottom: '-5px' }} />}
</CollectionName>
</TokenFromList>
</TokenInfoWrapper>
</NFTInfoWrapper>
<MarketPlaceRowWrapper>
{expandMarketplaceRows && localMarkets.length > 1 ? (
Expand Down

0 comments on commit 9976170

Please sign in to comment.