From 0b2de35a0a58104508d190323b5cafcd0c22e200 Mon Sep 17 00:00:00 2001 From: Sine Jespersen Date: Wed, 19 Jul 2023 14:44:26 +0200 Subject: [PATCH] 5820: remove arrows from number input --- src/stories/Library/Forms/input/input.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/stories/Library/Forms/input/input.scss b/src/stories/Library/Forms/input/input.scss index b1c477064..ed36cd810 100644 --- a/src/stories/Library/Forms/input/input.scss +++ b/src/stories/Library/Forms/input/input.scss @@ -30,4 +30,16 @@ @extend %text-body-small-regular; @extend %mt-8; } + + /* Chrome, Safari, Edge, Opera */ + input::-webkit-outer-spin-button, + input::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; + } + + /* Firefox */ + input[type="number"] { + -moz-appearance: textfield; + } }