From 2ce39d860556a8077914dbccf385af8b03a077fb 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 0e74c3073a9..9d8d9de7c19 100644 --- a/src/components/tabs/_tabs.scss +++ b/src/components/tabs/_tabs.scss @@ -115,6 +115,10 @@ padding-left: govuk-spacing(4); border: 1px solid $govuk-border-colour; border-top: 0; + + & > :last-child { + margin-bottom: 0; + } } }