Skip to content

Commit

Permalink
Merge pull request #4165 from alphagov/print-styles-layout-supernav-h…
Browse files Browse the repository at this point in the history
…eader

Fix print issues on layout-super-navigation-header
  • Loading branch information
matthillco authored Aug 23, 2024
2 parents 6164be3 + ac51e19 commit 174cd7e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
useful summary for people upgrading their application, not a replication
of the commit log.

Unreleased

* Fix print issues on layout-super-navigation-header ([PR #4165](https://github.com/alphagov/govuk_publishing_components/pull/4165))

## 43.0.0

* **BREAKING:** Upgrade to govuk-frontend v5.5.0 ([PR #4160](https://github.com/alphagov/govuk_publishing_components/pull/4160))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -986,9 +986,23 @@ $after-button-padding-left: govuk-spacing(4);

@include govuk-media-query($media-type: print) {
.gem-c-layout-super-navigation-header {
border-top: 1pt solid $govuk-print-text-colour;
margin: 0;
background-color: none;
border-top: 0;
border-bottom: 2pt solid $govuk-print-text-colour;
margin: 0 0 5mm;
background-color: transparent;

&:has(.gem-c-layout-super-navigation-header__header-logo .govuk-visually-hidden) {
border: 0;
margin-left: 24px;
}

* {
color: $govuk-print-text-colour;
}

.govuk-width-container {
margin: 0;
}
}

.gem-c-layout-super-navigation-header__header-logo {
Expand Down

0 comments on commit 174cd7e

Please sign in to comment.