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 02448ba commit ef50f88
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 @@ -115,6 +115,10 @@
padding-left: govuk-spacing(6);
border: 1px solid $govuk-border-colour;
border-top: 0;

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

Expand Down

0 comments on commit ef50f88

Please sign in to comment.