{"action":"created","issue":{"url":"https://api.github.com/repos/johnotander/pixyll/issues/266","repository_url":"https://api.github.com/repos/johnotander/pixyll","labels_url":"https://api.github.com/repos/johnotander/pixyll/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/johnotander/pixyll/issues/266/comments","events_url":"https://api.github.com/repos/johnotander/pixyll/issues/266/events","html_url":"https://github.com/johnotander/pixyll/issues/266","id":131951083,"number":266,"title":"img tag gets the link underline","user":{"login":"plttn","id":7369280,"avatar_url":"https://avatars.githubusercontent.com/u/7369280?v=3","gravatar_id":"","url":"https://api.github.com/users/plttn","html_url":"https://github.com/plttn","followers_url":"https://api.github.com/users/plttn/followers","following_url":"https://api.github.com/users/plttn/following{/other_user}","gists_url":"https://api.github.com/users/plttn/gists{/gist_id}","starred_url":"https://api.github.com/users/plttn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plttn/subscriptions","organizations_url":"https://api.github.com/users/plttn/orgs","repos_url":"https://api.github.com/users/plttn/repos","events_url":"https://api.github.com/users/plttn/events{/privacy}","received_events_url":"https://api.github.com/users/plttn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-02-07T09:03:30Z","updated_at":"2016-08-09T20:15:34Z","closed_at":null,"body":"I'm trying to work through this issue on my end (so there might be a pull request for it), but if I tag an image as a link, I then get the underline under the image that I can't seem to style away, as I can't figure out what the selector would be to target the `a` if and only if it has a `img` child. "},"comment":{"url":"https://api.github.com/repos/johnotander/pixyll/issues/comments/238676800","html_url":"https://github.com/johnotander/pixyll/issues/266#issuecomment-238676800","issue_url":"https://api.github.com/repos/johnotander/pixyll/issues/266","id":238676800,"user":{"login":"plttn","id":7369280,"avatar_url":"https://avatars.githubusercontent.com/u/7369280?v=3","gravatar_id":"","url":"https://api.github.com/users/plttn","html_url":"https://github.com/plttn","followers_url":"https://api.github.com/users/plttn/followers","following_url":"https://api.github.com/users/plttn/following{/other_user}","gists_url":"https://api.github.com/users/plttn/gists{/gist_id}","starred_url":"https://api.github.com/users/plttn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plttn/subscriptions","organizations_url":"https://api.github.com/users/plttn/orgs","repos_url":"https://api.github.com/users/plttn/repos","events_url":"https://api.github.com/users/plttn/events{/privacy}","received_events_url":"https://api.github.com/users/plttn/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T20:15:34Z","updated_at":"2016-08-09T20:15:34Z","body":"Hmm, I think this might be a limitation of CSS and impossible to work around. Because the `img` is being nested in a `a`, there's no way to detect if an `a` contains an `img` via CSS. You can't nest them and then go up using a parent selector because that doesn't exist. Using `:empty` removes the underline from the image, but it also removes the underline from the text, as the display text in the link is enough to make it \"not empty\". \r\n\r\nApplying something to the selector chain `a img` doesn't get rid of the underline, as that's tied to `a`. "}}
{"actor":{"display_login":"plttn"}}