Skip to content

Commit

Permalink
Deprecate .govuk-header__navigation--no-service-name
Browse files Browse the repository at this point in the history
  • Loading branch information
querkmachine committed Jul 14, 2022
1 parent b35ea24 commit 56f5a0a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Unreleased

### Deprecated features

#### Remove deprecated `govuk-header__navigation--no-service-name` class in the header

We've deprecated the `govuk-header__navigation--no-service-name` class, and will remove it in a future major release.

### Fixes

In [pull request 2678: Replace ex units with ems for input lengths](https://github.com/alphagov/govuk-frontend/pull/2678), we changed how we define input lengths in our CSS. Browsers might now display these inputs as being slightly wider than before. The difference is usually fewer than 3 pixels.
Expand Down
2 changes: 2 additions & 0 deletions src/govuk/components/header/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@
}
}

// The govuk-header__navigation--no-service-name class is deprecated and will
// be removed in the next major release.
.govuk-header__navigation--no-service-name {
padding-top: govuk-spacing(7);
}
Expand Down

0 comments on commit 56f5a0a

Please sign in to comment.