Skip to content

Commit

Permalink
CenteredSlideBounds:
Browse files Browse the repository at this point in the history
  • Loading branch information
owlester12 committed Sep 8, 2024
1 parent dec78d3 commit 3a013fd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/components/ClubPage/EventCarousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,12 @@ const EventCarousel = ({ data }: EventsProps) => {
<Swiper
modules={[Navigation, Pagination]}
spaceBetween={50}
loop={true}
navigation={{ nextEl: '.arrow-left', prevEl: '.arrow-right' }}
draggable={true}
draggable
scrollbar={{ draggable: true }}
slidesPerView={'auto'}
centeredSlidesBounds={true}
centeredSlides={true}
centeredSlides
centeredSlidesBounds
>
{data.map((entry, index) => (
<SwiperSlide
Expand Down

0 comments on commit 3a013fd

Please sign in to comment.