The carousel is not showing the images properly when I set it's display to flex
<div className="ProductDetails>
<div>
<Carousel animation='slide'>
{product.images && product.images.map((item, i) => (
<img
className='CarouselImage'
key={item.url}
src={item.url}
alt={`Slide ${i}`}
/>
))}
</Carousel>
</div>
</div>
CSS Code
.ProductDetails>div {
width: 100%;
justify-content: space-evenly;
align-items: center;
padding: 2vmax;
box-sizing: border-box;
border: 1px solid #fff;
display: flex;
flex-direction: column;
}