Skip to content

Commit

Permalink
Merge pull request #241 from itk-dev/feature/5820-remove-arrows
Browse files Browse the repository at this point in the history
5820: remove arrows from number input
  • Loading branch information
cableman authored Sep 6, 2023
2 parents 4c3266d + 0b2de35 commit 0933659
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/stories/Library/Forms/input/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 0933659

Please sign in to comment.