contribute.design icon indicating copy to clipboard operation
contribute.design copied to clipboard

SVG renders weirdly when within HTML

Open fivenp opened this issue 3 years ago • 1 comments

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 avatar Nov 29 '22 21:11 fivenp

#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 :)

fivenp avatar Nov 29 '22 21:11 fivenp