diff --git a/static/css/theme.css b/static/css/theme.css index 92265bf7ea..788ffa23ef 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -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; }