From 9ae67bf9cab14f5dcef64aa43154de99a94f156b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wit=E3=80=86=E8=8B=97=E5=A4=A7?= <454690789@qq.com> Date: Fri, 4 Nov 2022 23:45:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20inputNumberGroup(=E5=89=8D=E7=BD=AE/?= =?UTF-8?q?=E5=90=8E=E7=BD=AE=E6=A0=87=E7=AD=BE)=20span=20=E4=B8=8D?= =?UTF-8?q?=E8=B5=B7=E4=BD=9C=E7=94=A8=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=A0=B7=E5=BC=8F=E4=B9=8B=E5=90=8E=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E6=A0=B9=E6=8D=AESpan=E5=8A=A8=E6=80=81=E9=80=82?= =?UTF-8?q?=E5=BA=94=20(#2325)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/design/ant/input.less | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/design/ant/input.less b/src/design/ant/input.less index 645afb3b..5a8bc9b0 100644 --- a/src/design/ant/input.less +++ b/src/design/ant/input.less @@ -2,8 +2,11 @@ // input .ant-input { - &-number { + &-number, + &-number-group-wrapper { min-width: 110px; + width: 100% !important; + max-width: 100%; } } @@ -22,10 +25,3 @@ padding: 4px; } } - -.ant-input-number { - width: 100% !important; - max-width: 100%; -} - - -- GitLab