fix: card sizing on homepage

This commit is contained in:
Melvin Ragusa
2026-01-23 12:16:13 +01:00
parent f3ff2a7b9c
commit 7616edf907
2 changed files with 12 additions and 2 deletions

View File

@@ -29,6 +29,16 @@
gap: var(--space-xl);
}
.cardWrapper {
height: 100%;
}
.serviceCard {
height: 100%;
display: flex;
flex-direction: column;
}
@media (min-width: 1024px) {
.grid {
grid-template-columns: repeat(4, 1fr);

View File

@@ -78,8 +78,8 @@ export function Services() {
viewport={{ once: true, margin: '-50px' }}
>
{t.services.items.map((service, index) => (
<motion.div key={index} variants={itemVariants}>
<Card>
<motion.div key={index} variants={itemVariants} className={styles.cardWrapper}>
<Card className={styles.serviceCard}>
<Card.Icon>
{icons[service.icon as keyof typeof icons]}
</Card.Icon>