Skip to content

Commit

Permalink
fix: Hide Spinner of InputNumber when type is number
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Jun 3, 2019
1 parent 8b1985b commit 1a74449
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/input-number/style/index.less
Expand Up @@ -79,6 +79,12 @@
transition: all 0.3s linear;
-moz-appearance: textfield;
.placeholder();

&[type='number']::-webkit-inner-spin-button,
&[type='number']::-webkit-outer-spin-button {
margin: 0;
-webkit-appearance: none;
}
}

&-lg {
Expand Down

0 comments on commit 1a74449

Please sign in to comment.