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 committed Jul 20, 2020
1 parent 0c5d5af commit a65643c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/form/style/vertical.less
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 a65643c

Please sign in to comment.