Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1572 from dave4506/fix/instant/input-bug-firefox
Browse files Browse the repository at this point in the history
Removed number selector for firefox inputs
  • Loading branch information
dave4506 authored Feb 1, 2019
2 parents ae8d2ae + 26d44a5 commit 70158c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/instant/src/components/ui/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export const Input = styled.input<InputProps>`
background: transparent;
outline: none;
border: none;
&[type='number'] {
-moz-appearance: textfield;
}
&::placeholder {
color: ${props => props.theme[props.fontColor || 'white']} !important;
opacity: 0.5 !important;
Expand Down

0 comments on commit 70158c3

Please sign in to comment.