I have an SVG icon on my web page, which is an uneven width and height. If I add a border-radius of 50% to make a circle around it, it cuts off part of the icon. If I add padding to give it space, it still cuts off part of the image.
How can I make a circular border around the SVG icon without cutting a part out?
Yes I can see the svg gets cropped when border-radius is active. I would suggest that as you already have a parent div then you use that for the border and you can make that perfectly round and do it like this.