Skip to content

Commit

Permalink
fix main nav link focus and hover state styles (#558)
Browse files Browse the repository at this point in the history
* fix main nav link focus + hover state styles

* fix main nav link active + hover text color

* update changelog entry
  • Loading branch information
davidhunter08 authored and chrimesdev committed Nov 8, 2019
1 parent 1033883 commit bc6e553
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# NHS.UK frontend Changelog

## 3.0.1 - 8 November 2019

:wrench: **Fixes**

- Focus states - following the focus styles changes, we've fixed an issue with the header navigation link styling

## 3.0.0 - 7 November 2019

:boom: **Breaking changes**
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nhsuk-frontend",
"version": "3.0.0",
"version": "3.0.1",
"description": "NHS.UK frontend contains the code you need to start building user interfaces for NHS websites and services.",
"scripts": {
"prepare": "gulp bundle",
Expand Down
5 changes: 5 additions & 0 deletions packages/components/header/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,11 @@
outline-offset: $nhsuk-focus-width;
text-decoration: none;

&:hover {
background-color: $nhsuk-focus-color;
color: $nhsuk-focus-text-color;
}

&:visited {
background-color: $nhsuk-focus-color;
color: $nhsuk-focus-text-color;
Expand Down

0 comments on commit bc6e553

Please sign in to comment.