Skip to content

Commit

Permalink
Fix reverse button (link) text colour (#1080)
Browse files Browse the repository at this point in the history
* add reverse button visited text colour

* remove link example

* refactor css

* revert example

* add changelog entry
  • Loading branch information
davidhunter08 authored Nov 27, 2024
1 parent 6e111f2 commit 4a5ce91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
:wrench: **Fixes**

- Fix appearance of disabled warning buttons ([Issue 1034]([https://github.com/nhsuk/nhsuk-service-manual-community-backlog/issues/1034]))
- Fix reverse button text colour ([PR 1080]([https://github.com/nhsuk/nhsuk-frontend/pull/1080]))

## 9.1.0 - 4 November 2024

Expand Down
3 changes: 2 additions & 1 deletion packages/components/button/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ $button-shadow-size: 4px;
top: $button-shadow-size;
}

&:link {
&:link,
&:visited {
color: $nhsuk-reverse-button-text-color;

&:active {
Expand Down

0 comments on commit 4a5ce91

Please sign in to comment.