diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d7cb41590..d569094a5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ For example: - [Pull request #1753: Make back link arrow consistent with breadcrumb component](https://github.com/alphagov/govuk-frontend/pull/1753) - [Pull request #1765: Import textarea from character count](https://github.com/alphagov/govuk-frontend/pull/1765). - [Pull request #1778: Fix accordion underline hover state being removed when hovering plus/minus symbol](https://github.com/alphagov/govuk-frontend/pull/1778). +- [Pull request #1796: Standardise accordion section headings font size (reduce height of section headings on mobile)](https://github.com/alphagov/govuk-frontend/pull/1796). ## 3.6.0 (Feature release) diff --git a/src/govuk/components/accordion/_index.scss b/src/govuk/components/accordion/_index.scss index e3056d5f1e..23cf6b703c 100644 --- a/src/govuk/components/accordion/_index.scss +++ b/src/govuk/components/accordion/_index.scss @@ -19,6 +19,10 @@ } .govuk-accordion__section-heading { + // Override browser defaults to ensure consistent element height + // Font size is set in .govuk-accordion__section-button + @include govuk-font(24); + margin-top: 0; // Override browser default margin-bottom: 0; // Override browser default }