remove arrows for number inputs (#1287)
This commit is contained in:
@ -22,6 +22,16 @@ const StyledInput = styled.input`
|
|||||||
${textInputStyle}
|
${textInputStyle}
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
&[type='number']::-webkit-outer-spin-button,
|
||||||
|
&[type='number']::-webkit-inner-spin-button {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&[type='number'] {
|
||||||
|
-moz-appearance: textfield;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const DropdownMenuInput = forwardRef<
|
export const DropdownMenuInput = forwardRef<
|
||||||
|
|||||||
Reference in New Issue
Block a user