Skip to content

Commit

Permalink
fix(link): don't apply visited styles to .badge, .badge-tag (#1803)
Browse files Browse the repository at this point in the history
  • Loading branch information
dancormier authored Aug 14, 2024
1 parent 398e6d2 commit 5de10e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/link/link.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ a {
&:visited {
// We're target these specific selectors to avoid affecting the visited state of stacks components
// not specified here. See for https://github.com/StackExchange/Stacks/pull/1740#discussion_r1698389312
// TODO remove .post-tag reference once core no longer requires them
&:not([class*="s-"]):not(.post-tag),
// TODO remove .post-tag, .badge, .badge-tag reference once core no longer requires them
&:not([class*="s-"]):not(.post-tag):not(.badge):not(.badge-tag),
&.s-link,
&.s-sidebarwidget--action,
&.s-user-card--link {
Expand Down

0 comments on commit 5de10e3

Please sign in to comment.