Skip to content

Commit

Permalink
Fix Accordion “Show all” button margin at tablet size
Browse files Browse the repository at this point in the history
Fixes a minor regression in:

* 879e37c

The bottom margin should be increased at tablet size (not desktop) so it matches up with the “Show all” button font size change
  • Loading branch information
colinrotherham committed Dec 12, 2022
1 parent 9d5e50b commit b23cd4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/govuk/components/accordion/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
cursor: pointer;
-webkit-appearance: none;

@include govuk-media-query ($from: desktop) {
@include govuk-media-query ($from: tablet) {
margin-bottom: 14px;
}

Expand Down Expand Up @@ -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);
}
}
Expand Down

0 comments on commit b23cd4a

Please sign in to comment.