Skip to content

Commit

Permalink
fix: token button row alignment and width (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzmp authored Oct 13, 2022
1 parent 7f8a16b commit 9d6d3e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/TokenSelect/TokenButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const TokenButtonRow = styled(Row)<{ empty: boolean }>`
max-width: 12em;
overflow: hidden;
padding-left: ${({ empty }) => empty && 0.5}em;
width: fit-content;
width: max-content;
img {
min-width: 1.2em;
Expand Down Expand Up @@ -73,7 +73,6 @@ export default function TokenButton({ value, disabled, onClick }: TokenButtonPro
>
<ThemedText.ButtonLarge color={contentColor}>
<TokenButtonRow
align="flex-end"
empty={!value}
flex
gap={0.4}
Expand Down

1 comment on commit 9d6d3e2

@vercel
Copy link

@vercel vercel bot commented on 9d6d3e2 Oct 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

widgets – ./

widgets-uniswap.vercel.app
widgets-seven-tau.vercel.app
widgets-git-main-uniswap.vercel.app

Please sign in to comment.