Skip to content

Commit

Permalink
a11y: simplify css selector #730
Browse files Browse the repository at this point in the history
and make it only run on a single img contained in a link
  • Loading branch information
McShelby committed Nov 28, 2023
1 parent 14e2fb4 commit f9f3447
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions static/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -413,9 +413,9 @@ article a:focus .copy-to-clipboard {
outline: none;
text-decoration: underline;
}
article a:hover:has(img),
article a:active:has(img),
article a:focus:has(img){
article a:hover > img:only-child:empty,
article a:active > img:only-child:empty,
article a:focus > img:only-child:empty{
outline: auto;
}

Expand Down

0 comments on commit f9f3447

Please sign in to comment.