Skip to content

Commit

Permalink
Merge pull request #1936 from alphagov/banner-padding
Browse files Browse the repository at this point in the history
Add spacing to cookie banner confirmation message
  • Loading branch information
chris-gds authored Feb 19, 2021
2 parents 8fcfd87 + e021619 commit 220193a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

## Unreleased

* Add spacing to cookie banner confirmation message ([PR #1936](https://github.com/alphagov/govuk_publishing_components/pull/1936))
* Fix Sass warning for extending a compound selector ([PR #1933](https://github.com/alphagov/govuk_publishing_components/pull/1933))

## 24.3.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,18 @@ $govuk-cookie-banner-background: govuk-colour("light-grey", "grey-4");
}
}

// Override style from design system so we can have consistent
// padding on the the banner and the confirmation

.govuk-cookie-banner {
padding-top: 0;
}

// Override the styles from govuk_template
// stylelint-disable selector-max-id
.gem-c-cookie-banner#global-cookie-message {
background-color: $govuk-cookie-banner-background;
padding: 0;
padding: govuk-spacing(3) 0 0 0;
box-sizing: border-box;

.gem-c-cookie-banner__message,
Expand Down

0 comments on commit 220193a

Please sign in to comment.