From cb000b305be5b0fa2d6fb329178f82d609de8735 Mon Sep 17 00:00:00 2001 From: Paul Robert Lloyd Date: Tue, 26 Apr 2022 16:52:50 +0100 Subject: [PATCH] Ensure last item in card does not have a bottom margin --- app/frontend/styles/_card.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/frontend/styles/_card.scss b/app/frontend/styles/_card.scss index d0a9e9ecf..076f2a2c1 100644 --- a/app/frontend/styles/_card.scss +++ b/app/frontend/styles/_card.scss @@ -4,4 +4,8 @@ background-color: govuk-colour("light-grey"); display: block; position: relative; + + > *:last-child { + margin-bottom: 0; + } }