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