fix: inputNumberGroup(前置/后置标签) span 不起作用的问题,增加样式之后可以根据Span动态适应 (#2325)

This commit is contained in:
Wit〆苗大 2022-11-04 23:45:57 +08:00 committed by GitHub
parent 8ba4fb2449
commit 9ae67bf9ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,11 @@
// input // input
.ant-input { .ant-input {
&-number { &-number,
&-number-group-wrapper {
min-width: 110px; min-width: 110px;
width: 100% !important;
max-width: 100%;
} }
} }
@ -22,10 +25,3 @@
padding: 4px; padding: 4px;
} }
} }
.ant-input-number {
width: 100% !important;
max-width: 100%;
}