Skip to content

Commit 9c239a3

Browse files
Merge pull request #1313 from nhsuk/header-margin-collapse
Fix header menu margin collapse issue
2 parents dc718d5 + 0a580aa commit 9c239a3

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ This change ensures consistency with other components, where `text` or `html` pa
6161

6262
This change was made in [pull request #1259: Review legacy Nunjucks params](https://github.com/nhsuk/nhsuk-frontend/pull/1259).
6363

64+
:wrench: **Fixes**
65+
66+
We've made fixes to NHS.UK frontend in the following pull requests:
67+
68+
- [#1313: Fix header menu margin collapse issue](https://github.com/nhsuk/nhsuk-frontend/pull/1313)
69+
6470
## 9.6.0 - 20 May 2025
6571

6672
:new: **New features**

app/components/all.njk

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@
4747
{
4848
text: "Health A-Z",
4949
href: "#"
50-
},
51-
{
52-
text: "Abscess",
53-
href: "#"
5450
}
5551
]
5652
}) }}

packages/components/back-link/_index.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
////
1414

1515
.nhsuk-back-link {
16-
margin-top: nhsuk-spacing(3);
17-
line-height: 1; // [5]
16+
padding-top: nhsuk-spacing(3);
17+
line-height: 1; // [4]
1818

1919
@include nhsuk-media-query($from: tablet) {
20-
margin-top: nhsuk-spacing(4);
20+
padding-top: nhsuk-spacing(4);
2121
}
2222
}
2323

packages/components/breadcrumb/_index.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
////
1616

1717
.nhsuk-breadcrumb {
18-
margin-top: nhsuk-spacing(3);
18+
padding-top: nhsuk-spacing(3);
1919
@include nhsuk-print-hide; // [1]
2020

2121
@include nhsuk-media-query($from: tablet) {
22-
margin-top: nhsuk-spacing(4);
22+
padding-top: nhsuk-spacing(4);
2323
}
2424
}
2525

0 commit comments

Comments
 (0)