From a7947767a11564e0de4db1d46440564ecc2963ea Mon Sep 17 00:00:00 2001 From: Thomas Petersen Date: Mon, 4 May 2026 22:02:41 -0400 Subject: [PATCH] Align system message reactions Co-authored-by: Cursor --- .../features/messages/ui/MessageReactions.tsx | 4 +- .../features/messages/ui/SystemMessageRow.tsx | 37 +++++++++++-------- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/desktop/src/features/messages/ui/MessageReactions.tsx b/desktop/src/features/messages/ui/MessageReactions.tsx index b5ea21e7e6..4e26398446 100644 --- a/desktop/src/features/messages/ui/MessageReactions.tsx +++ b/desktop/src/features/messages/ui/MessageReactions.tsx @@ -49,19 +49,21 @@ export function MessageReactions({ canToggle, pending, onSelect, + className, }: { messageId: string; reactions: TimelineReaction[]; canToggle: boolean; pending: boolean; onSelect: (emoji: string) => void; + className?: string; }) { if (reactions.length === 0) { return null; } return ( -
+
{reactions.map((reaction) => ( -
+
-

{description}

+
+

{description}

+
+ { + void handleReactionSelect(emoji); + }} + /> + {reactionErrorMessage ? ( +

+ {reactionErrorMessage} +

+ ) : null} +
+
@@ -344,20 +363,6 @@ export const SystemMessageRow = React.memo(function SystemMessageRow({
- { - void handleReactionSelect(emoji); - }} - /> - {reactionErrorMessage ? ( -

- {reactionErrorMessage} -

- ) : null}
); });