I've created a carousel that loads multiple images, but I'm experiencing an issue where each image is overlapping with another image from a different card. Here's a visual of the problem:
As shown in the screenshot, parts of one image are appearing in another card and so on.
This is how I currently have the image placed within the "html" component in the carousel item:
html: '<div> <img src="'+avaImg+'" />'
Is there a way to ensure that the image fits properly on the screen regardless of the phone's resolution?