Skip to content

Commit

Permalink
Merge pull request #248 from US-CBP/link-visited-update
Browse files Browse the repository at this point in the history
update visited selector to not override other states
  • Loading branch information
bagrub authored Feb 12, 2025
2 parents e3ef096 + 0289876 commit 0349ffa
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ cbp-link {
text-decoration: underline;
}

&:visited {
// &:visited { //TODO: original
&:visited:not(:hover):not(:active):not(:focus){
color: var(--cbp-link-color-visited); //:visited restricts what properties can be set for security reasons , setting color directly to support visible change
}

Expand Down

0 comments on commit 0349ffa

Please sign in to comment.