Fix firefox bugs (#424)
This commit is contained in:
parent
81bc6926ca
commit
de8c9189ce
@ -54,6 +54,7 @@ const Input = styled(BorderlessInput)`
|
||||
font-size: 1.5rem;
|
||||
color: ${({ error, theme }) => error && theme.salmonRed};
|
||||
background-color: ${({ theme }) => theme.inputBackground};
|
||||
-moz-appearance: textfield;
|
||||
`
|
||||
|
||||
const StyledBorderlessInput = styled(BorderlessInput)`
|
||||
@ -336,6 +337,7 @@ export default function CurrencyInputPanel({
|
||||
min="0"
|
||||
error={!!errorMessage}
|
||||
placeholder="0.0"
|
||||
step="0.000000000000000001"
|
||||
onChange={e => onValueChange(e.target.value)}
|
||||
onKeyPress={e => {
|
||||
const charCode = e.which ? e.which : e.keyCode
|
||||
|
Loading…
Reference in New Issue
Block a user