I created carousel which loads many images. However, each image is overlapping to another image from different card as shown here:
As you can see in the screenshot, some part of the first image appear in the second card and so on.
This is how I put the image inside a "html" component within carousel's item:
html: '<div> <img src="'+avaImg+'" />'
Is there any way to make the image fit into the screen regardless the resolution of the phone?