Skip to content

Commit

Permalink
Merge pull request #4232 from alphagov/menu-fix-text-scale
Browse files Browse the repository at this point in the history
Fix homepage super navigation buttons when text scale is increased
  • Loading branch information
AshGDS authored Sep 18, 2024
2 parents eb2614f + 2e6c00d commit 59bc3f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* Add GA4 redaction to GWF and GB EORI numbers ([PR #4227](https://github.com/alphagov/govuk_publishing_components/pull/4227))
* Add files for secondary navigation: ([PR #4229](https://github.com/alphagov/govuk_publishing_components/pull/4229))
* New class to collapse columns for print ([PR #4224](https://github.com/alphagov/govuk_publishing_components/pull/4224))
* Fix homepage super navigation buttons when text scale is increased ([PR #4232](https://github.com/alphagov/govuk_publishing_components/pull/4232))

## 43.1.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,8 @@ $after-button-padding-left: govuk-spacing(4);
// after it has been toggled closed if the blue background has
// been enabled
.gem-c-layout-super-navigation-header__navigation-top-toggle-button.gem-c-layout-super-navigation-header__navigation-top-toggle-button--blue-background {
background-color: $govuk-brand-colour;

&:focus:not(:focus-visible) {
&::after {
background: none;
Expand Down Expand Up @@ -606,6 +608,10 @@ $after-button-padding-left: govuk-spacing(4);
// Styles for search toggle button.
.gem-c-layout-super-navigation-header__search-toggle-button {
background: none;

&.gem-c-layout-super-navigation-header__search-toggle-button--blue-background {
background: $govuk-brand-colour;
}
border: 0;
color: govuk-colour("white");
cursor: pointer;
Expand Down

0 comments on commit 59bc3f3

Please sign in to comment.