Skip to content

Commit

Permalink
Adujst margin
Browse files Browse the repository at this point in the history
Design tweak requested
Update


Update CHANGELOG
  • Loading branch information
Chris Yoong committed Feb 12, 2021
1 parent 5e75087 commit 72c327a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* Update `govuk-frontend` base SCSS imports ([PR #1922](https://github.com/alphagov/govuk_publishing_components/pull/1922))
* Remove redundant import in accordion component ([PR #1923](https://github.com/alphagov/govuk_publishing_components/pull/1923))
* Fix toggle click tracking on step-by-steps ([PR #1925](https://github.com/alphagov/govuk_publishing_components/pull/1925))
* Accordion summary design adjustment ([PR #1926](https://github.com/alphagov/govuk_publishing_components/pull/1926))

## 24.1.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ $gem-c-accordion-bottom-border-width: 1px;
padding-top: govuk-spacing(2) 0;
}

.gem-c-accordion__section-heading,
.gem-c-accordion__section-summary {
.gem-c-accordion__section-heading {
margin: govuk-spacing(1) 0;
}

Expand Down Expand Up @@ -240,7 +239,7 @@ $gem-c-accordion-bottom-border-width: 1px;

// Change the summary subheading size.
.gem-c-accordion__section-summary {
@include govuk-responsive-margin(2, "top");
@include govuk-responsive-margin(1, "top");
@include govuk-responsive-margin(2, "bottom");
@include govuk-typography-common;
@include govuk-typography-responsive($size: 19);
Expand Down Expand Up @@ -301,7 +300,6 @@ $gem-c-accordion-bottom-border-width: 1px;

.gem-c-accordion__section-summary {
@include govuk-typography-responsive($size: 16, $important: true);
margin: govuk-spacing(1) 0;
}

.gem-c-accordion__toggle-link {
Expand Down

0 comments on commit 72c327a

Please sign in to comment.