Skip to content

Commit ebebfa2

Browse files
committed
fix: add space between swiper cards
1 parent 8e5175c commit ebebfa2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

app/[locale]/10years/_components/AdoptionSwiper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const AdoptionSwiper = ({
2424
return (
2525
<div className="flex flex-1 flex-col gap-6 md:hidden">
2626
<SwiperContainer className="mx-auto w-full max-w-[550px]">
27-
<Swiper>
27+
<Swiper spaceBetween={32}>
2828
{adoptionCards.map((card, index) => (
2929
<SwiperSlide key={card.title}>
3030
<div

app/[locale]/10years/_components/InnovationSwiper.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ export default function InnovationSwiper() {
1414
return (
1515
<div className="w-[100%]">
1616
<SwiperContainer className="mx-auto w-full max-w-[550px] xl:max-w-[700px]">
17-
<Swiper className="mx-auto w-full max-w-[550px] xl:max-w-[700px]">
17+
<Swiper
18+
className="mx-auto w-full max-w-[550px] xl:max-w-[700px]"
19+
spaceBetween={32}
20+
>
1821
{innovationCards.map((card, index) => (
1922
<SwiperSlide
2023
key={index}

0 commit comments

Comments
 (0)