I am trying to create flexbox equal height columns using Swiper in freemode.
It works by adding display: flex
to the .swiper-wrapper slot
using the Inspector in the shadow DOM because this is the parent of the <swiper-slide>
.
How can I set the CSS of the parent of to be flex?
By default, swiper-slide
has height: 100%
.
Set swiper-slide { height: auto; }