Skip to content

Commit

Permalink
Merge pull request #12779 from Dharmik79/bug-poor-tooltip-position
Browse files Browse the repository at this point in the history
update the position of the tooltip and set it near the label text
  • Loading branch information
wackerow authored Jun 25, 2024
2 parents 3815d66 + 9c66b9a commit 0afcac4
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/components/FindWallet/WalletTable/WalletMoreInfoCategory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,19 @@ export const WalletMoreInfoCategory = ({

<Text px={1} lineHeight={1}>
{feature.label}
<Tooltip
content={
<Text color="body.base !important">
{t(walletFilterData[feature.filterKey].description)}
</Text>
}
>
<Box as="span" whiteSpace="nowrap">
&nbsp;
<Icon as={MdInfoOutline} color={featureColor} />
</Box>
</Tooltip>
</Text>

<Tooltip
content={
<Text color="body.base !important">
{t(walletFilterData[feature.filterKey].description)}
</Text>
}
>
<Box as="span">
<Icon as={MdInfoOutline} color={featureColor} />
</Box>
</Tooltip>
</ListItem>
)
})}
Expand Down

0 comments on commit 0afcac4

Please sign in to comment.