fix: Hide Spinner of InputNumber when type is number (#16926)

* fix: Hide Spinner of InputNumber when type is number

* Firefox not obedient
This commit is contained in:
zombieJ 2019-06-03 13:44:27 +08:00 committed by GitHub
parent 10fec945e5
commit a6ef4ca6a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,8 +77,14 @@
border-radius: @border-radius-base;
outline: 0;
transition: all 0.3s linear;
-moz-appearance: textfield;
-moz-appearance: textfield !important;
.placeholder();
&[type='number']::-webkit-inner-spin-button,
&[type='number']::-webkit-outer-spin-button {
margin: 0;
-webkit-appearance: none;
}
}
&-lg {