From 57eafbaa840c62c8827f44b909b5fe6bb0499b71 Mon Sep 17 00:00:00 2001 From: owenatgov Date: Mon, 23 May 2022 11:42:09 +0100 Subject: [PATCH] Add top padding to accordion sections --- CHANGELOG.md | 1 + src/govuk/components/accordion/_index.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4baae38080..8209fa6761 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ This change was introduced in [pull request #2617: Do not make the service name We’ve made fixes to GOV.UK Frontend in the following pull requests: - [#2617: Do not make the service name in the header a link if no `serviceUrl` is provided](https://github.com/alphagov/govuk-frontend/pull/2617) +- [#2640: Add top padding to accordion section](https://github.com/alphagov/govuk-frontend/pull/2640) ## 4.1.0 (Feature release) diff --git a/src/govuk/components/accordion/_index.scss b/src/govuk/components/accordion/_index.scss index 664065d53b..02a42ce607 100644 --- a/src/govuk/components/accordion/_index.scss +++ b/src/govuk/components/accordion/_index.scss @@ -50,6 +50,7 @@ .govuk-accordion__section-content { display: none; @include govuk-responsive-padding(8, "bottom"); + @include govuk-responsive-padding(3, "top"); } // Show the body of expanded sections