Skip to content

Commit

Permalink
Use :last-child to remove the margin of the last item in the tab content
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave House committed Jul 12, 2018
1 parent ac91dfe commit f213136
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/tabs/_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@
padding: govuk-spacing(6);
border: 1px solid $govuk-border-colour;
border-top: 0;

& > :last-child {
margin-bottom: 0;
}
}
}

Expand Down

0 comments on commit f213136

Please sign in to comment.