From 412e71633fc9266d274406cac9d3ede59476fd53 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Thu, 16 Nov 2023 16:26:28 +0100 Subject: [PATCH] refining card news with dates and proportions sizes --- template-components/cards/card-news.css | 6 +++--- template-components/cards/card-news.php | 25 +++++++++++++++---------- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/template-components/cards/card-news.css b/template-components/cards/card-news.css index 5703ee9..7bb74b9 100644 --- a/template-components/cards/card-news.css +++ b/template-components/cards/card-news.css @@ -23,7 +23,7 @@ /* @apply h-full ; */ } &__heading { - @apply flex flex-col-reverse; + @apply flex flex-col !mb-6; } &__tag { @@ -44,7 +44,7 @@ } &__title { - @apply text-2xl font-bold mb-4 text-secondary; - line-height: 1.1; + @apply text-lg font-bold text-secondary mb-1; + line-height: 1.2; } } diff --git a/template-components/cards/card-news.php b/template-components/cards/card-news.php index 686f768..f6c30b5 100644 --- a/template-components/cards/card-news.php +++ b/template-components/cards/card-news.php @@ -1,28 +1,33 @@
-

name ?>

-

name ?>

+

+ + + +
- +