fix: stop nft id tag from getting cut off (#5049)
* init * respond to comments * fix
This commit is contained in:
parent
619c0a0f46
commit
d3a2e14d4d
@ -74,9 +74,6 @@ export const detailsName = style([
|
|||||||
whiteSpace: 'nowrap',
|
whiteSpace: 'nowrap',
|
||||||
textOverflow: 'ellipsis',
|
textOverflow: 'ellipsis',
|
||||||
}),
|
}),
|
||||||
{
|
|
||||||
lineHeight: '24px',
|
|
||||||
},
|
|
||||||
])
|
])
|
||||||
|
|
||||||
export const eventDetail = style([
|
export const eventDetail = style([
|
||||||
|
@ -259,31 +259,33 @@ const Ranking = ({ rarity, collectionName, rarityVerified }: RankingProps) => {
|
|||||||
const rarityProviderLogo = getRarityProviderLogo(rarity.source)
|
const rarityProviderLogo = getRarityProviderLogo(rarity.source)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<MouseoverTooltip
|
<Box>
|
||||||
text={
|
<MouseoverTooltip
|
||||||
<Row>
|
text={
|
||||||
<Box display="flex" marginRight="4">
|
<Row>
|
||||||
<img src={rarityProviderLogo} alt="cardLogo" width={16} />
|
<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>
|
||||||
<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">
|
<Box display="flex" height="16">
|
||||||
{rarityVerified ? <RarityVerifiedIcon /> : null}
|
{rarityVerified ? <RarityVerifiedIcon /> : null}
|
||||||
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</MouseoverTooltip>
|
||||||
</MouseoverTooltip>
|
</Box>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user