From 3ddc99c28fca65639af2b5557e7df8a8d9cde6c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=8F=E5=8F=B3?= Date: Sun, 26 Apr 2020 12:46:59 +0800 Subject: [PATCH] :bug: Fix Input suffix align issue (#23606) close #23588 --- components/input/style/affix.less | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/components/input/style/affix.less b/components/input/style/affix.less index 769284199b..6505d24942 100644 --- a/components/input/style/affix.less +++ b/components/input/style/affix.less @@ -7,20 +7,14 @@ &-affix-wrapper { .input(); display: inline-flex; - height: @input-height-base; - padding-top: 0; - padding-bottom: 0; + max-height: @input-height-base; &-lg { - height: @input-height-lg; - padding-top: 0; - padding-bottom: 0; + max-height: @input-height-lg; } &-sm { - height: @input-height-sm; - padding-top: 0; - padding-bottom: 0; + max-height: @input-height-sm; } &-disabled {