1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-10-03 22:57:18 +02: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

View File

@ -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}