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:
偏右 2019-05-14 16:17:34 +08:00 committed by GitHub
commit aa70d1441b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {