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

* improve @formItemMarginBottom

* Revert "improve @formItemMarginBottom"

This reverts commit 6d8da5bdb9.

* update style
This commit is contained in:
Amumu 2020-04-21 17:48:15 +08:00 committed by GitHub
parent 02faa4bcf1
commit 17c63e52bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
} }
// ================================================================ // ================================================================