Skip to content

Commit

Permalink
fix(forms): remove unexpected margin before a form field preceded by …
Browse files Browse the repository at this point in the history
…hidden field
  • Loading branch information
epetrow authored and joneff committed Dec 24, 2021
1 parent a0d314b commit 4ffcd48
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/default/scss/forms/_layout.scss
Expand Up @@ -83,7 +83,8 @@
border: 0;

> * {
&:first-child {
&:not(.k-hidden):first-child,
&.k-hidden + :not(.k-hidden) {
margin-top: 0;
}
}
Expand Down Expand Up @@ -112,7 +113,8 @@

> *,
.k-daterangepicker .k-textbox-container {
&:first-child {
&:not(.k-hidden):first-child,
&.k-hidden + :not(.k-hidden) {
margin-top: 0;
}
}
Expand Down

0 comments on commit 4ffcd48

Please sign in to comment.