STYLE Aligning the cta go on the bottom for each card with a flex fix

This commit is contained in:
Antoine M 2025-09-30 15:30:13 +02:00
parent c5cae43428
commit 36cd92b3e4

View File

@ -1,5 +1,5 @@
.article-card { .article-card {
@apply bg-white border border-primary p-6 relative; @apply bg-white border border-primary p-6 relative !flex flex-col;
&:after { &:after {
@apply content-[''] absolute inset-0 border-primary w-full h-full pointer-events-none; @apply content-[''] absolute inset-0 border-primary w-full h-full pointer-events-none;
@ -47,6 +47,6 @@
} }
} }
.cta--go { .cta--go {
@apply text-primary; @apply text-primary mt-auto;
} }
} }