Skip to content

Commit

Permalink
Hide input number arrows
Browse files Browse the repository at this point in the history
  • Loading branch information
camilovegag committed May 24, 2024
1 parent af727e1 commit 56141d4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/berlin/src/components/input/Input.styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,15 @@ export const StyledInput = styled.input`
&::placeholder {
color: var(--color-gray);
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type='number'] {
-moz-appearance: textfield; /* Firefox */
appearance: textfield; /* Standard property */
}
`;

0 comments on commit 56141d4

Please sign in to comment.