Fixed: Skip fewer slides with cast/crew on smaller screens

Fixes #9571
pull/9572/head
Bogdan 10 months ago
parent a491c9a4a0
commit a931f8a69f

@ -52,7 +52,8 @@ class MovieCreditPosters extends Component {
render() {
const {
items,
itemComponent
itemComponent,
isSmallScreen
} = this.props;
const {
@ -67,7 +68,7 @@ class MovieCreditPosters extends Component {
<Swiper
slidesPerView='auto'
spaceBetween={10}
slidesPerGroup={3}
slidesPerGroup={isSmallScreen ? 1 : 3}
navigation={true}
loop={false}
loopFillGroupWithBlank={true}

Loading…
Cancel
Save