diff --git a/matrixgw_frontend/src/widgets/EmojiIcon.tsx b/matrixgw_frontend/src/widgets/EmojiIcon.tsx index cde45a0..c0a3c64 100644 --- a/matrixgw_frontend/src/widgets/EmojiIcon.tsx +++ b/matrixgw_frontend/src/widgets/EmojiIcon.tsx @@ -16,9 +16,16 @@ function emojiUnicode(emoji: string): string { return s.includes("f") ? s : `${s}-fe0f`; } -export function EmojiIcon(p: { emojiKey: string }): React.ReactElement { +export function EmojiIcon(p: { + emojiKey: string; + size?: number; +}): React.ReactElement { const unified = emojiUnicode(p.emojiKey); return ( - + ); } diff --git a/matrixgw_frontend/src/widgets/messages/RoomMessagesList.tsx b/matrixgw_frontend/src/widgets/messages/RoomMessagesList.tsx index e0e2cf7..3fc340a 100644 --- a/matrixgw_frontend/src/widgets/messages/RoomMessagesList.tsx +++ b/matrixgw_frontend/src/widgets/messages/RoomMessagesList.tsx @@ -465,11 +465,9 @@ function RoomMessage(p: { }} >
- -
-
- {reactions.length} +
+
{reactions.length}
} />