mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +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 {
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user