Skip to content

Commit

Permalink
Fixed: Skip fewer slides with cast/crew on smaller screens
Browse files Browse the repository at this point in the history
Fixes #9571
  • Loading branch information
mynameisbogdan committed Jan 10, 2024
1 parent a491c9a commit a931f8a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/Movie/Details/Credits/MovieCreditPosters.js
Expand Up @@ -52,7 +52,8 @@ class MovieCreditPosters extends Component {
render() {
const {
items,
itemComponent
itemComponent,
isSmallScreen
} = this.props;

const {
Expand All @@ -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}
Expand Down

0 comments on commit a931f8a

Please sign in to comment.