mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
🐛 Fix Input.Group align in Form.Item (#20681)
https://codesandbox.io/s/antd-reproduction-template-3x2kv
This commit is contained in:
parent
74c64ec38e
commit
faa969206c
@ -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…
Reference in New Issue
Block a user