Browse Source

chore: improve less variable @form-item-margin-bottom (#23436)

* improve @formItemMarginBottom

* Revert "improve @formItemMarginBottom"

This reverts commit 6d8da5bdb9.

* update style
pull/23448/head
Amumu 5 years ago
committed by GitHub
parent
commit
17c63e52bf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      components/form/style/index.less

6
components/form/style/index.less

@ -44,11 +44,13 @@
} }
} }
.explainAndExtraDistance(@num) when (@num>=0) { .explainAndExtraDistance(@num) when (@num >= 0) {
padding-top: floor(@num); padding-top: floor(@num);
} }
.explainAndExtraDistance(@num) when (@num<0) {
.explainAndExtraDistance(@num) when (@num < 0) {
margin-top: floor(@num); margin-top: floor(@num);
margin-bottom: floor(@num);
} }
// ================================================================ // ================================================================

Loading…
Cancel
Save