diff --git a/components/form/style/vertical.less b/components/form/style/vertical.less index 0b6f2463e02d..8e2249554eee 100644 --- a/components/form/style/vertical.less +++ b/components/form/style/vertical.less @@ -2,7 +2,9 @@ // ================== Label ================== .make-vertical-layout-label() { - margin: @form-vertical-label-margin; + & when (@form-vertical-label-margin > 0) { + margin: @form-vertical-label-margin; + } padding: @form-vertical-label-padding; line-height: @line-height-base; white-space: initial;