Skip to content

Commit de8c918

Browse files
ianlaphamNoahZinsmeister
authored andcommitted
Fix firefox bugs (Uniswap#424)
1 parent 81bc692 commit de8c918

File tree

1 file changed

+2
-0
lines changed
  • src/components/CurrencyInputPanel

1 file changed

+2
-0
lines changed

src/components/CurrencyInputPanel/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ const Input = styled(BorderlessInput)`
5454
font-size: 1.5rem;
5555
color: ${({ error, theme }) => error && theme.salmonRed};
5656
background-color: ${({ theme }) => theme.inputBackground};
57+
-moz-appearance: textfield;
5758
`
5859

5960
const StyledBorderlessInput = styled(BorderlessInput)`
@@ -336,6 +337,7 @@ export default function CurrencyInputPanel({
336337
min="0"
337338
error={!!errorMessage}
338339
placeholder="0.0"
340+
step="0.000000000000000001"
339341
onChange={e => onValueChange(e.target.value)}
340342
onKeyPress={e => {
341343
const charCode = e.which ? e.which : e.keyCode

0 commit comments

Comments
 (0)