Skip to content

Commit

Permalink
SearchBox: Fix styling on hover states
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-ac-martin committed Jan 5, 2025
1 parent b86a7b6 commit 4230cb7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/search-box/assets/SearchBox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
text-indent: -5000px;
overflow: hidden;

&:hover {
&:hover,
&[disabled]:hover {
background-color: color.adjust(govuk-colour("blue"), $lightness: 5%);
}

Expand Down Expand Up @@ -64,6 +65,7 @@

&:hover {
background-color: color.adjust(govuk-colour("light-grey"), $lightness: 5%);
color: govuk-colour("black");
}
}
}
Expand Down

0 comments on commit 4230cb7

Please sign in to comment.