From 8c86aee8ec93c74eeafc042c1b363bc9ff72c2b2 Mon Sep 17 00:00:00 2001 From: xrkffgg Date: Tue, 19 May 2020 00:01:51 +0800 Subject: [PATCH] fix: inputnumber handler inner center --- components/input-number/style/index.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;