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

SVG renders weirdly when within HTML #46

Open
fivenp opened this issue Nov 29, 2022 · 1 comment
Open

SVG renders weirdly when within HTML #46

fivenp opened this issue Nov 29, 2022 · 1 comment
Labels
🐞 bug Something isn't working good first issue Good for newcomers

Comments

@fivenp
Copy link
Member

fivenp commented Nov 29, 2022

Describe the bug
The badge renders properly when displayed as SVG but it gets Blurry once it's included in a markdown file or HTML

Expected behavior
SVGs should render clean and nicely when embedded as <img />

Screenshots
As pure SVG
image

SVG inside HTML:
image

Additional context
There are some hints this is related to poor SVG preparation not being pixel perfect... I'll make sure refer to them...

@fivenp fivenp added 🐞 bug Something isn't working good first issue Good for newcomers labels Nov 29, 2022
@fivenp
Copy link
Member Author

fivenp commented Nov 29, 2022

#45 is a temporary fix for this but we should def try and fix the original badge and revert the SVG changes in #45 once we have a solution :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants
@fivenp and others