偏右
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
9 additions and
2 deletions
-
components/form/style/index.less
|
|
@ -262,11 +262,18 @@ form { |
|
|
|
// fix input with addon position. https://github.com/ant-design/ant-design/issues/8243 |
|
|
|
:not(.@{ant-prefix}-input-group-wrapper) > .@{ant-prefix}-input-group, |
|
|
|
.@{ant-prefix}-input-group-wrapper { |
|
|
|
position: relative; |
|
|
|
top: -1px; |
|
|
|
display: inline-block; |
|
|
|
vertical-align: middle; |
|
|
|
} |
|
|
|
|
|
|
|
// https://github.com/ant-design/ant-design/issues/20616 |
|
|
|
&:not(.@{form-prefix-cls}-vertical) { |
|
|
|
:not(.@{ant-prefix}-input-group-wrapper) > .@{ant-prefix}-input-group, |
|
|
|
.@{ant-prefix}-input-group-wrapper { |
|
|
|
position: relative; |
|
|
|
top: -1px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// Form layout |
|
|
|