Skip to content

Commit

Permalink
Merge pull request #902 from nhsuk/header-and-width-container-margin
Browse files Browse the repository at this point in the history
Header and width containers margin
  • Loading branch information
roshaanbajwa authored Nov 16, 2023
2 parents 1cfec68 + 850efca commit bde0444
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 8 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# NHS.UK frontend Changelog

## 8.0.3 - 13 November 2023
## Unreleased

:wrench: **Fixes**

- Updated header component unit tests ([PR 900](https://github.com/nhsuk/nhsuk-frontend/pull/900)).
- Fixed bug where the header didn't align with the main width container ([PR 902](https://github.com/nhsuk/nhsuk-frontend/pull/902)). This fixes [Issue 901](https://github.com/nhsuk/nhsuk-frontend/issues/901)

## 8.0.2 - 19 October 2023

Expand Down
8 changes: 1 addition & 7 deletions packages/components/header/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
}

.nhsuk-header__container {
margin: 0 nhsuk-spacing(3);
max-width: $nhsuk-page-width;
@include govuk-width-container;
padding: 20px 0;

@include mq($until: tablet) {
Expand All @@ -35,11 +34,6 @@
border-bottom: 1px solid $color_transparent_nhsuk-white-20;
display: flex;
justify-content: space-between;
margin: 0 nhsuk-spacing(5);
}

@include mq($from: large-desktop) {
margin: 0 auto;
}
}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bde0444

Please sign in to comment.