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

fix: stop nft id tag from getting cut off (#5049)

* init

* respond to comments

* fix
parent 619c0a0f
......@@ -74,9 +74,6 @@ export const detailsName = style([
whiteSpace: 'nowrap',
textOverflow: 'ellipsis',
}),
{
lineHeight: '24px',
},
])
export const eventDetail = style([
......
......@@ -259,31 +259,33 @@ const Ranking = ({ rarity, collectionName, rarityVerified }: RankingProps) => {
const rarityProviderLogo = getRarityProviderLogo(rarity.source)
return (
<MouseoverTooltip
text={
<Row>
<Box display="flex" marginRight="4">
<img src={rarityProviderLogo} alt="cardLogo" width={16} />
<Box>
<MouseoverTooltip
text={
<Row>
<Box display="flex" marginRight="4">
<img src={rarityProviderLogo} alt="cardLogo" width={16} />
</Box>
<Box width="full" fontSize="14">
{rarityVerified
? `Verified by ${collectionName}`
: `Ranking by ${rarity.source === 'Genie' ? fallbackProvider : rarity.source}`}
</Box>
</Row>
}
placement="top"
>
<Box className={styles.rarityInfo}>
<Box paddingTop="2" paddingBottom="2" display="flex">
{putCommas(rarity.rank)}
</Box>
<Box width="full" fontSize="14">
{rarityVerified
? `Verified by ${collectionName}`
: `Ranking by ${rarity.source === 'Genie' ? fallbackProvider : rarity.source}`}
</Box>
</Row>
}
placement="top"
>
<Box className={styles.rarityInfo}>
<Box paddingTop="2" paddingBottom="2" display="flex">
{putCommas(rarity.rank)}
</Box>
<Box display="flex" height="16">
{rarityVerified ? <RarityVerifiedIcon /> : null}
<Box display="flex" height="16">
{rarityVerified ? <RarityVerifiedIcon /> : null}
</Box>
</Box>
</Box>
</MouseoverTooltip>
</MouseoverTooltip>
</Box>
)
}
......
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