1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

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

Fixes #9571
This commit is contained in:
Bogdan
2024-01-10 20:51:40 +02:00
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}