I have a Bootstrap 4 image carousel.
Some of the images are landscape view, some are portrait.
I'm using the .img-fluid class on all the carousel images, which applies max-width: 100%;
and height: auto;
to the images.
The landscape view images looks fine, but the portrait images are taller, which makes the carousel inconsistent, since the height is set to auto.
Is there an easy way I can apply some CSS to make the height of all my carousel images consistent, without distorting the taller portrait images?
This question didn't help me with this issue.