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 a4c9a72 commit cba080d
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 @@ -65,6 +65,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 have been forgotten.

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).

### Fixes

We’ve made fixes to GOV.UK Frontend in the following pull requests:
Expand Down

0 comments on commit cba080d

Please sign in to comment.