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 01ce0ef commit 84a4021
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Fixes

- [#2640: Add top padding to accordion section](https://github.com/alphagov/govuk-frontend/pull/2640)

## 4.1.0 (Feature release)

### New features
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 84a4021

Please sign in to comment.