Skip to content

Commit

Permalink
fix: text input padding (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzmp authored Aug 23, 2022
1 parent d17b7b2 commit 6126e8e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export const inputCss = css`
border: 1px solid ${({ theme }) => theme.container};
border-radius: ${({ theme }) => theme.borderRadius}em;
cursor: text;
padding: calc(0.5em - 1px);
padding: calc(0.75em - 1px);
:hover:not(:focus-within) {
background-color: ${({ theme }) => theme.onHover(theme.container)};
Expand Down
1 change: 0 additions & 1 deletion src/components/Swap/Settings/MaxSlippageSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const Button = styled(TextButton)<{ selected: boolean }>`
const Custom = styled(BaseButton)<{ selected: boolean }>`
${({ selected }) => optionCss(selected)}
${inputCss}
padding: calc(0.75em - 3px) 0.625em;
`

interface OptionProps {
Expand Down

1 comment on commit 6126e8e

@vercel
Copy link

@vercel vercel bot commented on 6126e8e Aug 23, 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-seven-tau.vercel.app
widgets-git-main-uniswap.vercel.app
widgets-uniswap.vercel.app

Please sign in to comment.