Skip to content

Commit

Permalink
Add margin top to a field that is preceded by another field (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
bameyrick authored Feb 22, 2019
1 parent ae78717 commit 758eb11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/field/_field.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
.field {
background: none;

& + & {
margin-top: 1rem;
}

&__legend {
margin-bottom: 0.5rem;
font-size: 1rem;
Expand Down

0 comments on commit 758eb11

Please sign in to comment.