🐛 Fix Input.Group align in Form.Item (#20681)

https://codesandbox.io/s/antd-reproduction-template-3x2kv
This commit is contained in:
偏右 2020-01-06 14:25:59 +08:00 committed by GitHub
parent 74c64ec38e
commit faa969206c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,13 +67,4 @@
.@{ant-prefix}-input-group .@{ant-prefix}-cascader-picker {
width: auto;
}
// 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;
}
}