Skip to content

Commit 4a5ce91

Browse files
Fix reverse button (link) text colour (#1080)
* add reverse button visited text colour * remove link example * refactor css * revert example * add changelog entry
1 parent 6e111f2 commit 4a5ce91

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
:wrench: **Fixes**
66

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

910
## 9.1.0 - 4 November 2024
1011

packages/components/button/_button.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ $button-shadow-size: 4px;
159159
top: $button-shadow-size;
160160
}
161161

162-
&:link {
162+
&:link,
163+
&:visited {
163164
color: $nhsuk-reverse-button-text-color;
164165

165166
&:active {

0 commit comments

Comments
 (0)