Skip to content

Breadcrumb and back link margin collapses into header menu #1311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
colinrotherham opened this issue May 20, 2025 · 0 comments · May be fixed by #1313
Open

Breadcrumb and back link margin collapses into header menu #1311

colinrotherham opened this issue May 20, 2025 · 0 comments · May be fixed by #1313
Assignees

Comments

@colinrotherham
Copy link
Contributor

Bug Report

What is the issue?

  1. Back links use fixed margin-top within nhsuk-width-container
  2. Breadcrumbs use fixed margin-top within nhsuk-width-container
  3. Header menu uses a dynamic margin-bottom to reserve space for menu items

We should use margin-top padding-top to prevent margin collapse:

Image

What steps are required to reproduce the issue?

Open the header menu when the back link or breadcrumbs are visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

1 participant