Browse Source
fix: inputNumberGroup(前置/后置标签) span 不起作用的问题,增加样式之后可以根据Span动态适应 (#2325)
pull/2326/head
Wit〆苗大
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
8 deletions
-
src/design/ant/input.less
|
|
@ -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%; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|