Commit f373a52d authored by lynn's avatar lynn Committed by GitHub

fix: verified icon sizes and color are messed up in view my nfts (#5425)

* fix

* remove color change
parent e4473e30
......@@ -34,7 +34,6 @@ import {
import { AlertTriangle } from 'react-feather'
import styled from 'styled-components/macro'
import { ThemedText } from 'theme'
import { colors } from 'theme/colors'
import * as styles from './Card.css'
......@@ -494,6 +493,7 @@ const TruncatedTextRow = styled(Row)`
text-overflow: ellipsis;
display: block;
overflow: hidden;
flex: 0.98;
`
interface ProfileNftDetailsProps {
......@@ -517,7 +517,7 @@ const ProfileNftDetails = ({ asset, hideDetails }: ProfileNftDetailsProps) => {
<TruncatedTextRow className={bodySmall} style={{ color: themeVars.colors.textSecondary }}>
{!!asset.asset_contract.name && <span>{asset.asset_contract.name}</span>}
</TruncatedTextRow>
{asset.collectionIsVerified && <VerifiedIcon height="16px" width="16px" fill={colors.magentaVibrant} />}
{asset.collectionIsVerified && <VerifiedIcon height="18px" width="18px" />}
</PrimaryDetails>
{!hideDetails && <DetailsLink />}
</PrimaryRow>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment