diff --git a/src/components/ChatViewer.tsx b/src/components/ChatViewer.tsx index 9338d8e..0c273ac 100644 --- a/src/components/ChatViewer.tsx +++ b/src/components/ChatViewer.tsx @@ -310,7 +310,7 @@ const MessageItem = memo(function MessageItem({ (CHAT_KINDS as readonly number[]).includes(replyEvent.kind); return ( -
+
+ {/* Reactions display - inline after timestamp */} +
{shouldShowReplyPreview && (
- {/* Reactions display - lazy loaded per message */} -
); } // Regular user messages - wrap in context menu if event exists const messageContent = ( -
+
+ {/* Reactions display - inline after timestamp */} + {canReply && onReply && (
- {/* Reactions display - lazy loaded per message */} -
); diff --git a/src/components/chat/MessageReactions.tsx b/src/components/chat/MessageReactions.tsx index 7cdae6e..db3816c 100644 --- a/src/components/chat/MessageReactions.tsx +++ b/src/components/chat/MessageReactions.tsx @@ -134,11 +134,11 @@ export function MessageReactions({ messageId, relays }: MessageReactionsProps) { if (aggregated.length === 0) return null; return ( -
+ <> {aggregated.map((reaction) => ( 1 ? "s" : ""}`} > {reaction.customEmoji ? ( @@ -153,6 +153,6 @@ export function MessageReactions({ messageId, relays }: MessageReactionsProps) { {reaction.count} ))} -
+ ); }