Skip to content

Commit

Permalink
Add to Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanita Barrett committed Nov 24, 2021
1 parent fdaf57b commit b0fb211
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,14 @@ Replace any use of this class with the `govuk-tag--grey` class.

This change was introduced in [pull request #2417: Remove deprecated `govuk-tag--inactive class`](https://github.com/alphagov/govuk-frontend/pull/2417).

#### Style any custom HTML in your cookie banner

We have removed the default font styles from the cookie banner Sass, to make it more obvious when classes/styles haven't been added to any custom HTML.

If you are passing custom HTML into the cookie banner component (for example, using the `html` Nunjucks param), you must make sure you are applying the appropriate classes/styles to that HTML, such as adding the `govuk-body` class to any paragraph tags. You must do this to prevent your cookie banner displaying with unstyled text.

This change was introduced in [pull request #2432: Remove default font styles from cookie banner Sass](https://github.com/alphagov/govuk-frontend/pull/2432).

### Optional changes

We've recently made some other changes to GOV.UK Frontend. While these are not breaking changes, implementing them will make your service work better.
Expand Down

0 comments on commit b0fb211

Please sign in to comment.