We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4119c6f commit 5fa55ceCopy full SHA for 5fa55ce
components/containers/CardsColumns.js
@@ -31,8 +31,8 @@ export default function CardsColumns({
31
spaceBetween: 20,
32
},
33
1334: {
34
- slidesPerView: 3,
35
- spaceBetween: 20,
+ slidesPerView: titles.length <= 3 ? titles.length : 3,
+ spaceBetween: titles.length < 3 ? 75 : 20,
36
37
}}
38
>
@@ -50,11 +50,7 @@ export default function CardsColumns({
50
key={index}
51
/>
52
) : (
53
- <Card
54
- title={title}
55
- content={content[index]}
56
- key={index}
57
- />
+ <Card title={title} content={content[index]} key={index} />
58
)}
59
</div>
60
</SwiperSlide>
0 commit comments