Skip to content

Commit

Permalink
fix: extra height space
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-barros committed Apr 25, 2024
1 parent 6dff87d commit 498939e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,9 @@ export const TransactionSummary = ({
<Flex justifyContent="flex-start" mb="$18">
<Text.Body.Normal weight="$semibold">{title}</Text.Body.Normal>
{tooltip && (
<Box ml="$8">
<Box ml="$8" className={styles.iconContainer}>
<Tooltip label={tooltip}>
<div>
<InfoIcon className={styles.tooltipIcon} />
</div>
<InfoIcon className={styles.tooltipIcon} />
</Tooltip>
</Box>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ export const tooltipIcon = style([
width: '$24',
}),
]);

export const iconContainer = style({
lineHeight: 0,
});

0 comments on commit 498939e

Please sign in to comment.