You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,16 +6,24 @@ For advice on how to use these release notes see [our guidance on staying up to
6
6
7
7
### New features
8
8
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
10
10
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.
12
12
13
13
You can control this behaviour using the new `collapseNavigationOnMobile` Nunjucks option.
14
14
15
15
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.
16
16
17
17
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).
18
18
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
+
19
27
### Deprecated features
20
28
21
29
#### Replace references to CSS custom properties for breakpoints
0 commit comments