From 460c55c846e2f812c64b0573a237cb5a88fe1040 Mon Sep 17 00:00:00 2001 From: LIUCHAO <50739490+Tsong-LC@users.noreply.github.com> Date: Sun, 12 Jun 2022 03:01:17 +0800 Subject: [PATCH] fix(components): inputNumber cursor offset up (#8193) Add input[type='number'] line-height: 1 closed #8181 --- packages/theme-chalk/src/input-number.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/theme-chalk/src/input-number.scss b/packages/theme-chalk/src/input-number.scss index f2a32d61a1..d04acd31fa 100644 --- a/packages/theme-chalk/src/input-number.scss +++ b/packages/theme-chalk/src/input-number.scss @@ -25,6 +25,7 @@ -webkit-appearance: none; } text-align: center; + line-height: 1; } }