Skip to content

Commit

Permalink
Add top padding to accordion sections
Browse files Browse the repository at this point in the history
  • Loading branch information
owenatgov committed May 24, 2022
1 parent 272e202 commit 57eafba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions src/govuk/components/accordion/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57eafba

Please sign in to comment.