diff --git a/components/input-number/style/index.less b/components/input-number/style/index.less index 5cf23233edf3..65fa198ae6bf 100644 --- a/components/input-number/style/index.less +++ b/components/input-number/style/index.less @@ -164,8 +164,8 @@ cursor: pointer; &-inner { top: 50%; - margin-top: -6px; text-align: center; + transform: translateY(-50%); } &:hover { height: 60% !important;