Skip to content

Commit 76fffa9

Browse files
authored
Merge pull request #6023 from alphagov/service-navigation-inverse-changelog
2 parents 6daeab4 + 215c409 commit 76fffa9

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,24 @@ For advice on how to use these release notes see [our guidance on staying up to
66

77
### New features
88

9-
#### The Service Navigation component no longer uses a menu on mobile for a single link
9+
#### The Service navigation component no longer uses a menu on mobile for a single link
1010

11-
If you're using our Nunjucks macros, the Service Navigation component will no longer collapse the navigation behind a 'Menu' toggle if there is only one navigation item.
11+
If you're using our Nunjucks macros, the Service navigation component will no longer collapse the navigation behind a 'Menu' toggle if there is only one navigation item.
1212

1313
You can control this behaviour using the new `collapseNavigationOnMobile` Nunjucks option.
1414

1515
If you are not using our Nunjucks macros, you can recreate this behaviour by omitting the 'Menu' `<button>` element if there is only one navigation item.
1616

1717
This change was introduced in [pull request #6016: Don’t use menu for service nav with a single link](https://github.com/alphagov/govuk-frontend/pull/6016).
1818

19+
#### Added inverse styling to Service navigation for use on product pages
20+
21+
When the GOV.UK rebrand is enabled, you can now add the `govuk-service-navigation--inverse` class to the Service navigation component to use white links on a blue background.
22+
23+
This allows the rebranded GOV.UK header and Service navigation to flow seamlessly with subsequent components that have a blue background, as is common on [GOV.UK Digital Service Platform](https://platforms.service.gov.uk/) pages.
24+
25+
This change was made in [pull request #6015: Add inverse variant to Service navigation component](https://github.com/alphagov/govuk-frontend/pull/6015).
26+
1927
### Deprecated features
2028

2129
#### Replace references to CSS custom properties for breakpoints

0 commit comments

Comments
 (0)