From cba080d0f6258db7e0e7984e3f9ae98f8f3888f0 Mon Sep 17 00:00:00 2001 From: Vanita Barrett Date: Tue, 16 Nov 2021 15:32:13 +0000 Subject: [PATCH] Add to Changelog --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 115ec69900..16aceaacdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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: