Skip to content

Commit

Permalink
fix(form): avoid additional margin with nested fields
Browse files Browse the repository at this point in the history
When there is a fields class in another fields class, an extra margin-bottom is added.

Thanks to @dutrieux , who already provided the fix in the related issue 😄

Closes #1202
  • Loading branch information
lubber-de authored and Sean committed Dec 6, 2019
1 parent 4258a50 commit d3c94b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/definitions/collections/form.less
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
margin: @fieldMargin;
}

.ui.form .fields .fields,
.ui.form .field:last-child,
.ui.form .fields:last-child .field {
margin-bottom: 0;
Expand Down

0 comments on commit d3c94b0

Please sign in to comment.