From a841be429622e4a1d36e6e9ecd9e463cb448ad8b Mon Sep 17 00:00:00 2001 From: mroxso <24775431+mroxso@users.noreply.github.com> Date: Sun, 28 Jan 2024 16:39:27 +0100 Subject: [PATCH] center images --- lumina/components/NoteCard.tsx | 42 +++++++++++++++++----------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/lumina/components/NoteCard.tsx b/lumina/components/NoteCard.tsx index dc399ef..710cd67 100644 --- a/lumina/components/NoteCard.tsx +++ b/lumina/components/NoteCard.tsx @@ -82,27 +82,27 @@ const NoteCard: React.FC = ({ pubkey, text, eventId, tags, event
{ // imageSrc ? imageSrc.map((src, index) => ) : "" -
- {imageSrc && imageSrc.length > 1 ? ( - - - {imageSrc.map((src, index) => ( - - - - ))} - - - - - ) : ( - imageSrc ? : "" - )} -
+
+ {imageSrc && imageSrc.length > 1 ? ( + + + {imageSrc.map((src, index) => ( + + + + ))} + + + + + ) : ( + imageSrc ? : "" + )} +
}
{textWithoutImage}