From ef50f883789a516eca93010e888926f0a5895b03 Mon Sep 17 00:00:00 2001 From: Dave House Date: Thu, 12 Jul 2018 10:53:11 +0100 Subject: [PATCH] Use :last-child to remove the margin of the last item in the tab content --- src/components/tabs/_tabs.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/tabs/_tabs.scss b/src/components/tabs/_tabs.scss index 4ae34c49f8..7809ef9043 100644 --- a/src/components/tabs/_tabs.scss +++ b/src/components/tabs/_tabs.scss @@ -115,6 +115,10 @@ padding-left: govuk-spacing(6); border: 1px solid $govuk-border-colour; border-top: 0; + + & > :last-child { + margin-bottom: 0; + } } }