I am currently working on a project that involves creating circular avatar images within a Node Web App. The issue I am facing is when I apply the Boostrap
class to the image like so:
class="rounded-circle"
The image ends up looking like an oval instead of a perfect circle. I have come across similar questions where it was mentioned that the original dimensions of the image could affect the shape of the circle. Even using vanilla CSS
with a custom class like this resulted in an oval rather than a circle:
.player-circle {
border-radius: 50%;
}
So, my question is, what steps can I take (whether through CSS or Bootstrap) to ensure that the avatar displays as a true circle and not an oval shape? Your assistance is greatly appreciated.