From b23cd4a3ce699abd515cf5e93b0a113b816d5324 Mon Sep 17 00:00:00 2001 From: Colin Rotherham Date: Mon, 12 Dec 2022 11:28:48 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20Accordion=20=E2=80=9CShow=20all=E2=80=9D?= =?UTF-8?q?=20button=20margin=20at=20tablet=20size?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes a minor regression in: * https://github.com/alphagov/govuk-frontend/commit/879e37c85e4ff1156e1febb609afacc4df9de1bd The bottom margin should be increased at tablet size (not desktop) so it matches up with the “Show all” button font size change --- src/govuk/components/accordion/_index.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/govuk/components/accordion/_index.scss b/src/govuk/components/accordion/_index.scss index 15fa9f2849..1a536b75e7 100644 --- a/src/govuk/components/accordion/_index.scss +++ b/src/govuk/components/accordion/_index.scss @@ -79,7 +79,7 @@ cursor: pointer; -webkit-appearance: none; - @include govuk-media-query ($from: desktop) { + @include govuk-media-query ($from: tablet) { margin-bottom: 14px; } @@ -274,7 +274,7 @@ padding-bottom: govuk-spacing(3); border-bottom: 0; - @include govuk-media-query ($from: desktop) { + @include govuk-media-query ($from: tablet) { padding-bottom: govuk-spacing(4); } }