Skip to content

Commit

Permalink
spacing between buttons was fixed (#870)
Browse files Browse the repository at this point in the history
Co-authored-by: ost-ptk <[email protected]>
  • Loading branch information
ost-ptk and ost-ptk authored Nov 28, 2023
1 parent efadf4d commit 93b1eef
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/apps/popup/pages/token-details/token.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ const FooterItemContainer = styled(CenteredFlexRow)`

const ButtonContainer = styled(CenteredFlexColumn)`
cursor: pointer;
padding: 0 16px;
`;

type TokenInfoList = {
Expand Down Expand Up @@ -163,17 +165,17 @@ export const Token = ({ erc20Tokens }: TokenProps) => {
target="_blank"
href={getBuyWithTopperUrl(activeAccount.publicKey)}
>
<CenteredFlexColumn gap={SpacingSize.Medium}>
<ButtonContainer gap={SpacingSize.Medium}>
<Button circle>
<SvgIcon
src="assets/icons/card.svg"
color="contentOnFill"
/>
</Button>
<Typography type="captionMedium" color="contentAction">
Buy
<Trans t={t}>Buy</Trans>
</Typography>
</CenteredFlexColumn>
</ButtonContainer>
</Link>
)}
</FooterItemContainer>
Expand Down

0 comments on commit 93b1eef

Please sign in to comment.