Skip to content

Commit bc04245

Browse files
Rely on order of appearance to apply visited styles at element specificity
1 parent 45aa3a8 commit bc04245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/sass/protocol/base/elements/_links.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ a {
2020
}
2121
}
2222

23-
:visited {
23+
a:where(:visited) {
2424
--link-color: var(--link-color-visited);
2525
--link-color-hover: var(--link-color-visited-hover);
2626
}

0 commit comments

Comments
 (0)