Flickity carousell same height slides fix

Author: Aleš Sýkora, 24. 3. 2021

If you need all your slides to have same height, add the CSS selector to your slider cells and use this code in your CSS:

.carousel-cell {
    display: flex;
    align-items: stretch;
    min-height: 100%;
}

Do not forget to add the cellSelector attribute to your flickity slider setup:

(function($) {

    $('.carousel').flickity({
        cellSelector: '.carousel-cell',
    });

})(jQuery);