Skip to content

Commit

Permalink
fix: offset in FormItem's labelCol isn't work if layout is vertical (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangchen915 authored Jul 21, 2020
1 parent f7cfc19 commit 51fa6fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/form/style/vertical.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 51fa6fb

Please sign in to comment.