Skip to content

Commit

Permalink
Merge pull request #498 from alphagov/fix-428
Browse files Browse the repository at this point in the history
Fix spacing above nested panels
  • Loading branch information
gemmaleigh authored Jun 14, 2017
2 parents 7d07d9d + 177be80 commit 377a7ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/sass/elements/_panels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,13 @@

// The last panel in a group
.form-group .panel-border-narrow:last-child {
margin-top: 10px;
margin-top: 0;
margin-bottom: 0;
}

// For inline panels
.inline .panel-border-narrow {
.inline .panel-border-narrow,
.inline .panel-border-narrow:last-child {
margin-top: 10px;
margin-bottom: 0;
}
Expand Down

0 comments on commit 377a7ab

Please sign in to comment.