From f21313630af2dfbd8854c9cc7ef1a10baa79d0ab 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 77299e3f65..7a969fd8c1 100644 --- a/src/components/tabs/_tabs.scss +++ b/src/components/tabs/_tabs.scss @@ -112,6 +112,10 @@ padding: govuk-spacing(6); border: 1px solid $govuk-border-colour; border-top: 0; + + & > :last-child { + margin-bottom: 0; + } } }