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 { ...@@ -34,7 +34,6 @@ import {
import { AlertTriangle } from 'react-feather' import { AlertTriangle } from 'react-feather'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'
import { ThemedText } from 'theme' import { ThemedText } from 'theme'
import { colors } from 'theme/colors'
import * as styles from './Card.css' import * as styles from './Card.css'
...@@ -494,6 +493,7 @@ const TruncatedTextRow = styled(Row)` ...@@ -494,6 +493,7 @@ const TruncatedTextRow = styled(Row)`
text-overflow: ellipsis; text-overflow: ellipsis;
display: block; display: block;
overflow: hidden; overflow: hidden;
flex: 0.98;
` `
interface ProfileNftDetailsProps { interface ProfileNftDetailsProps {
...@@ -517,7 +517,7 @@ const ProfileNftDetails = ({ asset, hideDetails }: ProfileNftDetailsProps) => { ...@@ -517,7 +517,7 @@ const ProfileNftDetails = ({ asset, hideDetails }: ProfileNftDetailsProps) => {
<TruncatedTextRow className={bodySmall} style={{ color: themeVars.colors.textSecondary }}> <TruncatedTextRow className={bodySmall} style={{ color: themeVars.colors.textSecondary }}>
{!!asset.asset_contract.name && <span>{asset.asset_contract.name}</span>} {!!asset.asset_contract.name && <span>{asset.asset_contract.name}</span>}
</TruncatedTextRow> </TruncatedTextRow>
{asset.collectionIsVerified && <VerifiedIcon height="16px" width="16px" fill={colors.magentaVibrant} />} {asset.collectionIsVerified && <VerifiedIcon height="18px" width="18px" />}
</PrimaryDetails> </PrimaryDetails>
{!hideDetails && <DetailsLink />} {!hideDetails && <DetailsLink />}
</PrimaryRow> </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