Outline appearing around svg react-component when transform scaled?
The picture is what I'm seeing in my hover state for this basic <button/> element, which has an svg inside of it.
the button:
The CSS:
5 Replies
without seeing the svg not possible to tell. drop it in a codepen please, including the relevant css
the svg was a bit flawed, i redrew it and adjusted the css slightly
https://codepen.io/MarkBoots/pen/GRexdPa
awesome thank you! I'll have to look into redrawing svg's I guess
using a vector program such as figma (which has a free tier) can help with that.