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 17, 2024
1 parent 487cd72 commit 7b6a770
Showing 1 changed file with 6 additions and 0 deletions.
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;

&--blue-background {
background: $govuk-brand-colour;
}
border: 0;
color: govuk-colour("white");
cursor: pointer;
Expand Down

0 comments on commit 7b6a770

Please sign in to comment.