Skip to content

Commit

Permalink
Primary navigation: Use brand colour for current item border
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Dec 19, 2023
1 parent f2b3c40 commit bc5d953
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions x-govuk/components/primary-navigation/_primary-navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,7 @@
}

.x-govuk-primary-navigation__item--current {
border-bottom: $govuk-border-width-narrow solid $govuk-link-colour;

&:hover {
border-bottom-color: $govuk-link-hover-colour;
}

&:active {
border-bottom-color: $govuk-link-active-colour;
}
border-bottom: $govuk-border-width-narrow solid $govuk-brand-colour;
}

.x-govuk-primary-navigation__item--align-right {
Expand Down

0 comments on commit bc5d953

Please sign in to comment.