Skip to content

Commit

Permalink
Fix text-decoration resetting thickness on accordion
Browse files Browse the repository at this point in the history
  • Loading branch information
36degrees committed Apr 21, 2021
1 parent 4a7f986 commit fd67a46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/govuk/components/accordion/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,11 @@
}

.govuk-accordion__section-button:hover:not(:focus) {
@include govuk-link-hover-decoration;
color: $govuk-link-hover-colour;
text-decoration: underline;

// This needs to come after the text-decoration property
@include govuk-link-hover-decoration;
text-underline-offset: $govuk-link-underline-offset;
}

Expand Down

0 comments on commit fd67a46

Please sign in to comment.