1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
.gallery { height: 100%; @include flexbox(); @include flex-direction(column); } .gallery__swiper { @include flex(1); } .gallery-item { @include flexbox(); @include align-items(center); @include justify-content(center); height: 100%; overflow: hidden; } .gallery-item__main { display: block; }