From 13e67535aa97391122f5ec6dd1def64c101487b0 Mon Sep 17 00:00:00 2001 From: anandamaryon1 Date: Tue, 27 Aug 2024 16:26:57 +0100 Subject: [PATCH 1/2] hide header nav on print (causes print layout issues) --- packages/components/header/_header.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/components/header/_header.scss b/packages/components/header/_header.scss index 716e5c603..db3b74360 100644 --- a/packages/components/header/_header.scss +++ b/packages/components/header/_header.scss @@ -486,6 +486,7 @@ .nhsuk-navigation-container { position: relative; + @include print-hide(); } // ul of hidden nav From c9ea19a9041029b16f74d79c1b531db5cf3f8848 Mon Sep 17 00:00:00 2001 From: anandamaryon1 Date: Tue, 27 Aug 2024 16:58:42 +0100 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 1 + packages/components/header/_header.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51342ffba..72d1de42f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Fix Sass deprecation on `mix` function (passing a number without unit) ([PR 995](https://github.com/nhsuk/nhsuk-frontend/pull/995)) - Add nhsukAttributes macro, copied from GOV.UK ([PR 998](https://github.com/nhsuk/nhsuk-frontend/pull/998)) +- Hide header's navigation links on print ([PR 1001](https://github.com/nhsuk/nhsuk-frontend/pull/1001)) ## 8.3.0 - 24 July 2024 diff --git a/packages/components/header/_header.scss b/packages/components/header/_header.scss index db3b74360..36d0e7a55 100644 --- a/packages/components/header/_header.scss +++ b/packages/components/header/_header.scss @@ -485,8 +485,8 @@ } .nhsuk-navigation-container { - position: relative; @include print-hide(); + position: relative; } // ul of hidden nav