I have a dynamically generated slideshow with various sizes of images - a few are portrait orientation. The issue is that react-responsive-carousel (https://www.npmjs.com/package/react-responsive-carousel) crops the portrait-orientation images more than I would like, only showing about 50% of the image.
The desired behavior is for the portrait images to be 100% of the slideshow height, while being horizontally centered, therefore completely in view (possibly with some empty space on each side.) Landscape images currently look fine, as they stretch 100%, across the width of the container.
<div className="carousel-container">
<Carousel showThumbs={false} showStatus={false}>
<img src="https://placekitten.com/300/200" />
<img src="https://placekitten.com/202/300" />
<img src="https://placekitten.com/302/200" />
</Carousel>
</div>