diff --git a/web/modals/chat/message-reactions-modal.css b/web/modals/chat/message-reactions-modal.css --- a/web/modals/chat/message-reactions-modal.css +++ b/web/modals/chat/message-reactions-modal.css @@ -14,3 +14,13 @@ flex-direction: row; justify-content: space-between; } + +div.userInfoContainer { + display: flex; + flex-direction: row; + align-items: center; +} + +div.username { + margin-left: 8px; +} diff --git a/web/modals/chat/message-reactions-modal.react.js b/web/modals/chat/message-reactions-modal.react.js --- a/web/modals/chat/message-reactions-modal.react.js +++ b/web/modals/chat/message-reactions-modal.react.js @@ -6,6 +6,7 @@ import { useMessageReactionsList } from 'lib/shared/reaction-utils.js'; import css from './message-reactions-modal.css'; +import UserAvatar from '../../components/user-avatar.react.js'; import Modal from '../modal.react.js'; type Props = { @@ -22,7 +23,10 @@ () => messageReactionsList.map(messageReactionUser => (
-
{messageReactionUser.username}
+
+ +
{messageReactionUser.username}
+
{messageReactionUser.reaction}
)),