From f26a377312954de94186a7e1cf12e864173341a4 Mon Sep 17 00:00:00 2001 From: Lucas Leblanc <44496264+Dedelweiss@users.noreply.github.com> Date: Fri, 18 Oct 2024 10:57:56 +0100 Subject: [PATCH] Fix cover size article (#271) * fix: correction span * fix: correction span --------- Co-authored-by: Dedelweiss --- src/components/Articles/Articles.scss | 1 - src/components/Articles/Articles.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Articles/Articles.scss b/src/components/Articles/Articles.scss index f0c6776..8f2c48e 100644 --- a/src/components/Articles/Articles.scss +++ b/src/components/Articles/Articles.scss @@ -22,7 +22,6 @@ height: 100%; object-fit: cover; border-radius: 10px; - grid-column: span 6; @include tablet {grid-column: span 12;} @include phone-portrait { grid-column: span 12; diff --git a/src/components/Articles/Articles.tsx b/src/components/Articles/Articles.tsx index 4fed237..a9418d1 100644 --- a/src/components/Articles/Articles.tsx +++ b/src/components/Articles/Articles.tsx @@ -65,7 +65,7 @@ const Articles = () => { {truncateText(article.excerpt, 25)} -
+
{article.title}