Skip to content

Commit

Permalink
Fix homepage super navigation buttons when text scale is increased
Browse files Browse the repository at this point in the history
  • Loading branch information
AshGDS committed Sep 18, 2024
1 parent eb2614f commit 2e6c00d
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 2e6c00d

Please sign in to comment.