From 5b61c0fac9c9c5c21082efa00fc449a09fe217be Mon Sep 17 00:00:00 2001 From: xrkffgg Date: Tue, 19 May 2020 10:12:13 +0800 Subject: [PATCH] fix: inputnumber handler inner center (#24266) --- 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;