From 62fd0f9b2e8e32fa97a72558620ebac05b17b08f Mon Sep 17 00:00:00 2001 From: JOELNATHAN544 Date: Thu, 24 Jul 2025 17:00:39 +0100 Subject: [PATCH] Enhance LinkCard component layout by ensuring consistent minimum height for owned and non-owned links --- my-link-uploader/src/components/LinkCard.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/my-link-uploader/src/components/LinkCard.tsx b/my-link-uploader/src/components/LinkCard.tsx index 8af280e..e870f86 100644 --- a/my-link-uploader/src/components/LinkCard.tsx +++ b/my-link-uploader/src/components/LinkCard.tsx @@ -94,7 +94,7 @@ const LinkCard: React.FC = ({ link, currentUser, onDelete, onClic // Layout for owned links with images if (isOwner && hasImage) { return ( -
+
= ({ link, currentUser, onDelete, onClic // Layout for owned links without images if (isOwner && !hasImage) { return ( -
+
@@ -222,7 +222,7 @@ const LinkCard: React.FC = ({ link, currentUser, onDelete, onClic // Layout for links not owned by the user return ( -
+
{hasImage ? (