Skip to content

Commit 0b2de35

Browse files
author
Sine Jespersen
committed
5820: remove arrows from number input
1 parent 61d4234 commit 0b2de35

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/stories/Library/Forms/input/input.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,16 @@
3030
@extend %text-body-small-regular;
3131
@extend %mt-8;
3232
}
33+
34+
/* Chrome, Safari, Edge, Opera */
35+
input::-webkit-outer-spin-button,
36+
input::-webkit-inner-spin-button {
37+
-webkit-appearance: none;
38+
margin: 0;
39+
}
40+
41+
/* Firefox */
42+
input[type="number"] {
43+
-moz-appearance: textfield;
44+
}
3345
}

0 commit comments

Comments
 (0)