From 149f8bc9b35f4bef08b1bf01e902bab3846cd306 Mon Sep 17 00:00:00 2001 From: David Sun Date: Thu, 31 Jan 2019 21:12:13 -0500 Subject: removed number selector for firefox inputs --- packages/instant/src/components/ui/input.tsx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages') diff --git a/packages/instant/src/components/ui/input.tsx b/packages/instant/src/components/ui/input.tsx index 024e81b15..ba1d9a431 100644 --- a/packages/instant/src/components/ui/input.tsx +++ b/packages/instant/src/components/ui/input.tsx @@ -25,6 +25,9 @@ export const Input = styled.input` background: transparent; outline: none; border: none; + &[type="number"] { + -moz-appearance: textfield; + } &::placeholder { color: ${props => props.theme[props.fontColor || 'white']} !important; opacity: 0.5 !important; -- cgit From 26d44a53927b9ec575346454fd4f3632a6e68ee2 Mon Sep 17 00:00:00 2001 From: David Sun Date: Fri, 1 Feb 2019 12:07:21 -0500 Subject: ran prettier on codebase --- packages/instant/src/components/ui/input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/instant/src/components/ui/input.tsx b/packages/instant/src/components/ui/input.tsx index ba1d9a431..3696fc65a 100644 --- a/packages/instant/src/components/ui/input.tsx +++ b/packages/instant/src/components/ui/input.tsx @@ -25,7 +25,7 @@ export const Input = styled.input` background: transparent; outline: none; border: none; - &[type="number"] { + &[type='number'] { -moz-appearance: textfield; } &::placeholder { -- cgit