Skip to content

Commit

Permalink
feat: remove up and down arrows from numeric inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-almeida-konkconsulting committed Oct 17, 2023
1 parent 9984226 commit 6ecc4a0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions AdminUi/src/AdminUi/ClientApp/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,15 @@ body {
margin: 0;
font-family: Roboto, "Helvetica Neue", sans-serif;
}

/* Chrome, Safari, Edge, Opera */
input[matinput]::-webkit-outer-spin-button,
input[matinput]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}

/* Firefox */
input[matinput][type=number] {
-moz-appearance: textfield;
}

0 comments on commit 6ecc4a0

Please sign in to comment.