Skip to content

Commit

Permalink
[Redesign] Fix route card spacing
Browse files Browse the repository at this point in the history
Signed-off-by: Emre Bogazliyanlioglu <emre@wormholelabs.xyz>
  • Loading branch information
emreboga committed Sep 19, 2024
1 parent fdf5196 commit 3f71018
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion wormhole-connect/src/views/v2/Bridge/Routes/SingleRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ const useStyles = makeStyles()((theme: any) => ({
width: '100%',
maxWidth: '420px',
},
cardHeader: {
paddingBottom: '2px',
},
fastestBadge: {
width: '14px',
height: '14px',
Expand Down Expand Up @@ -312,7 +315,7 @@ const SingleRoute = (props: Props) => {
}

return (
<Typography>
<Typography fontSize={18}>
{receiveAmountTrunc} {destTokenConfig.symbol}
</Typography>
);
Expand Down Expand Up @@ -402,6 +405,7 @@ const SingleRoute = (props: Props) => {
>
<CardHeader
avatar={<TokenIcon icon={destTokenConfig?.icon} height={36} />}
className={classes.cardHeader}
title={routeCardHeader}
subheader={routeCardSubHeader}
action={routeCardBadge}
Expand Down

0 comments on commit 3f71018

Please sign in to comment.