mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
Merge pull request #16584 from sbusch/fix-form-item-with-help-negative-margin
Prevent negative margin-bottom for form items with help (e.g. validation errors)
This commit is contained in:
commit
aa70d1441b
@ -113,7 +113,7 @@ input[type='checkbox'] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-with-help {
|
&-with-help {
|
||||||
margin-bottom: @form-item-margin-bottom - @form-explain-height - @form-help-margin-top;
|
margin-bottom: max(0, @form-item-margin-bottom - @form-explain-height - @form-help-margin-top);
|
||||||
}
|
}
|
||||||
|
|
||||||
&-label {
|
&-label {
|
||||||
|
Loading…
Reference in New Issue
Block a user