Skip to content

Commit

Permalink
Fixup :visited:focus specificity (#15838)
Browse files Browse the repository at this point in the history
  • Loading branch information
janbrasna authored Jan 10, 2025
1 parent bb3f3a8 commit f5193cd
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions media/css/m24/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ strong {
}

a:link,
a:link:hover,
a:link:focus {
a:visited {
color: $m24-color-black;

&:visited {
&:hover,
&:focus,
&:active {
color: $m24-color-black;
}
}
Expand Down Expand Up @@ -101,14 +102,11 @@ a:link:focus {
transition: $slow $bezier;
}

&:active,
&:focus-visible {
color: $m24-color-black;
}

&:active {
color: $m24-color-black;
}

&.m24-t-xl {
font-size: $text-button-xl;
}
Expand Down

0 comments on commit f5193cd

Please sign in to comment.