Skip to content

Commit

Permalink
Merge pull request #1001 from nhsuk/print-hide-header-nav
Browse files Browse the repository at this point in the history
Hide header nav on print (to fix print layout issues)
  • Loading branch information
anandamaryon1 authored Sep 17, 2024
2 parents 4d942bb + e781014 commit 4a3f3cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
- Fix missing classes option for summary list rows ([PR 1007](https://github.com/nhsuk/nhsuk-frontend/pull/1007))
- Add support for inline conditions on summary list rows ([PR 1008](https://github.com/nhsuk/nhsuk-frontend/pull/1008))
- Change "Contact us" in the footer link examples to "Give us feedback" ([PR 972](https://github.com/nhsuk/nhsuk-frontend/pull/972))
Expand Down
1 change: 1 addition & 0 deletions packages/components/header/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@
}

.nhsuk-navigation-container {
@include print-hide();
position: relative;
}

Expand Down

0 comments on commit 4a3f3cb

Please sign in to comment.