Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Keep emoji-only comment replies at normal size

Anand Baburajan73a036653dfe
diff --git a/web/apps/space/src/components/PostComments.tsx b/web/apps/space/src/components/PostComments.tsx
index 7403ec60a6..aea18fa17b 100644
--- a/web/apps/space/src/components/PostComments.tsx
+++ b/web/apps/space/src/components/PostComments.tsx
@@ -209,7 +209,8 @@ const CommentRow: React.FC<{
const canOpenActions = !disabled && !comment.deleted;
const reactions = commentReactionGroups(comment.reactions, ownReaction);
const reactionColumns = Math.min(reactions.length, 6);
- const largeEmoji = isEmojiOnlyComment(comment.text ?? "");
+ const largeEmoji =
+ !comment.parentId && isEmojiOnlyComment(comment.text ?? "");
const previousReaction = React.useRef(ownReaction);
const [poppingReaction, setPoppingReaction] = React.useState<string>();
React.useEffect(() => {