nhsuk / nhsuk-frontend

NHS.UK frontend contains the code you need to start building user interfaces for NHS websites and services.
https://nhsuk.github.io/nhsuk-frontend/
MIT License
619 stars 107 forks source link

Draft: Move breadcrumb inside nhs-width-container #974

Closed frankieroberto closed 1 month ago

frankieroberto commented 3 months ago

This moves the Breadcrumb component inside the <div class="nhs-width-container"> to avoid having to define its own, and for consistency with the Back component.

This is a breaking change as the HTML is different, and teams would have to update where the breadcrumb appears.

I've also switched the padding to be margin, for consistency with the Back link. The actual spacing values we use are tbc.

I've also added the outerContent block to the template used by the test app in the repo.

See Review back link and breadcrumb spacing and positioning

frankieroberto commented 1 month ago

Closing as this has been merged into #1002