From 90fde225831b9317dd0b3346dff49d4290b26003 Mon Sep 17 00:00:00 2001 From: Dave Date: Thu, 2 Nov 2023 15:29:28 +0300 Subject: [PATCH] UI fix on blog card --- src/components/Blog/BlogCard.astro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Blog/BlogCard.astro b/src/components/Blog/BlogCard.astro index 3b0c770..0d363b6 100644 --- a/src/components/Blog/BlogCard.astro +++ b/src/components/Blog/BlogCard.astro @@ -15,8 +15,8 @@ function stripHtml(dirtyString: string) {
{formatTimeAgo(created_at)} -

{cropText(title, 10)}

-
{stripHtml(cropText(description, 10))}
+

{cropText(title, 10)}

+
{stripHtml(cropText(description, 10))}
title
@@ -38,7 +38,7 @@ function stripHtml(dirtyString: string) { } .card-img { width: 100%; - height: 274px; + /* height: 274px; */ max-width: 265px; border-radius: 0px 10px 10px 0px; }