diff --git a/CHANGELOG.md b/CHANGELOG.md index 84dca176a..64bdbdfcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,50 @@ ## Unreleased +:boom: **Breaking changes** + +- Updated back link and breadcrumbs ([PR 1002](https://github.com/nhsuk/nhsuk-frontend/pull/1002)) + +The breadcrumbs component no longer contains its own `
` container. + +Instead, you should move it inside the existing `
` container for your overall page, but before the `
` tag. + +This means that instead of this: + +```html + +
+
+ ... +
+
+``` + +You should have this: + +```html +
+ +
+ ... +
+
+``` + +The back link should also be placed within the `
` container but before the `
` tag. Previous guidance suggested placing at the bottom of the page, but this has been updated to recommend placing it at the top. + +The back link now contains some default margin above it, so you can remove any override classes you added previously, such as `nhsuk-u-margin-top-4`. However you can still include override classes if you want more or less spacing than the default. + :recycle: **Changes** - Large headings, legends and labels updated to use 36px rather than 32px. ([PR 989](https://github.com/nhsuk/nhsuk-frontend/pull/989)) @@ -15,7 +59,6 @@ - Fix missing classes option for summary list rows ([PR 1007](https://github.com/nhsuk/nhsuk-frontend/pull/1007)) - Add support for inline conditions on summary list rows ([PR 1008](https://github.com/nhsuk/nhsuk-frontend/pull/1008)) - Change "Contact us" in the footer link examples to "Give us feedback" ([PR 972](https://github.com/nhsuk/nhsuk-frontend/pull/972)) -- Adjusted default spacing of back link component ([PR 964](https://github.com/nhsuk/nhsuk-frontend/pull/964)) - Reduce main wrapper padding on mobile ([PR 1003](https://github.com/nhsuk/nhsuk-frontend/pull/1003)) - Fix image encoding issue introduced in Gulp v5.0 ([PR 1013](https://github.com/nhsuk/nhsuk-frontend/pull/1013))