Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected underline for image link when hovering #107

Open
ReinforceZwei opened this issue Mar 14, 2023 · 0 comments · May be fixed by #108
Open

Unexpected underline for image link when hovering #107

ReinforceZwei opened this issue Mar 14, 2023 · 0 comments · May be fixed by #108

Comments

@ReinforceZwei
Copy link
Contributor

Example html code to reproduce the problem:

<p>
    <a href="https://github.com">
	<img src="https://img.shields.io/badge/GitHub-100000?style=for-the-badge&amp;logo=github&amp;logoColor=white" alt="">
    </a>
</p>

img-hovering

I think the problem is margin-bottom.
image

The problem could be resolved by removing the margin-bottom style, or reset the margin-bottom style if the <img> tag is used inside a <a> tag.

@ReinforceZwei ReinforceZwei linked a pull request Mar 15, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants