From 204ea4f4bc62b6ac236120d3839eb9892d10574d Mon Sep 17 00:00:00 2001 From: Matthias Puchstein Date: Sat, 12 Jul 2025 12:37:05 +0200 Subject: [PATCH] updated `DreamCardCompact` to improve user display by resizing avatar and name elements, adjusting spacings for better layout balance, and refining font sizes for consistency Signed-off-by: Matthias Puchstein --- src/components/DreamCardCompact.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/DreamCardCompact.tsx b/src/components/DreamCardCompact.tsx index 90fbe1c..3018450 100644 --- a/src/components/DreamCardCompact.tsx +++ b/src/components/DreamCardCompact.tsx @@ -24,10 +24,10 @@ export const DreamCardCompact = ({dream, index, showUser = false, user}: DreamCa }}>
{showUser && user && ( -
+
) : ( {user.name.charAt(0)} + className="text-sm text-white">{user.name.charAt(0)} )}
{user.name} + className="font-medium text-sm dreamy-text">{user.name}
)} @@ -53,7 +53,7 @@ export const DreamCardCompact = ({dream, index, showUser = false, user}: DreamCa

{/* Add an empty div to balance the layout when user is shown */} - {showUser && user &&
} + {showUser && user &&
}