Skip to content

Commit

Permalink
style: fix stylelint disable comments for prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Jan 31, 2025
1 parent 8fb3bc9 commit 8eb6450
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/assets/stylesheets/components/_accordions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,21 @@
#ACCORDIONS
========================================================================== */

// stylelint-disable declaration-no-important

.govuk-accordion__section-button:hover {
// stylelint-disable-next-line declaration-no-important
background: #ebebeb !important;
}

.govuk-accordion__show-all:hover {
// stylelint-disable-next-line declaration-no-important
background: #ebebeb !important;
// stylelint-disable-next-line declaration-no-important
box-shadow:
0 -2px #ebebeb,
0 4px #ebebeb !important;
}

.govuk-accordion__show-all:focus {
// stylelint-disable-next-line declaration-no-important
background: $govuk-focus-colour !important;
// stylelint-disable-next-line declaration-no-important
box-shadow:
0 -2px $govuk-focus-colour,
0 4px $govuk-text-colour !important;
Expand Down

0 comments on commit 8eb6450

Please sign in to comment.