feat(WEB-314): render current benefit cards with carousel on mobile

This commit is contained in:
Chuma McPhoy
2024-06-07 15:02:47 +02:00
parent 952d254250
commit 720ec213fe
2 changed files with 3 additions and 1 deletions

View File

@@ -21,6 +21,8 @@
}
.title {
display: flex;
flex-direction: column;
text-wrap: balance;
}
.titleValue {

View File

@@ -37,7 +37,7 @@ export default async function CurrentBenefitsBlock({
<section className={styles.container}>
<Header title={title} link={link} subtitle={subtitle} />
<CardGrid>
<CardGrid isMobileCarousel={true}>
{currentLevel.benefits.map((benefit, idx) => (
<Link
href={benefit.href}