mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
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:
parent
10fec945e5
commit
a6ef4ca6a2
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user