change swiper pagination block
This commit is contained in:
@@ -125,9 +125,13 @@ export default function ViolationsLastCombinedCases() {
|
||||
},
|
||||
loop: filteredItems.length > 3,
|
||||
pagination: {
|
||||
clickable: true,
|
||||
dynamicBullets: false,
|
||||
},
|
||||
/* pagination: {
|
||||
el: '.custom-pagination-container', // Кастомный контейнер для пагинации
|
||||
clickable: true,
|
||||
},
|
||||
}, */
|
||||
onSwiper: (swiper: any) => {
|
||||
swiperRef.current = swiper;
|
||||
}
|
||||
@@ -235,7 +239,7 @@ export default function ViolationsLastCombinedCases() {
|
||||
)}
|
||||
</div>
|
||||
{!isNothingSelected && filteredItems.length > 0 && (
|
||||
<div className="custom-pagination-container text-center"></div>
|
||||
<div className="swiper-pagination-custom-wrapper"></div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user