Browse Source

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

https://codesandbox.io/s/antd-reproduction-template-3x2kv
pull/20695/head
偏右 5 years ago
committed by GitHub
parent
commit
faa969206c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      components/form/style/components.less

9
components/form/style/components.less

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

Loading…
Cancel
Save