Fix typing bubble in group chats

This commit is contained in:
Evan Hahn 2021-01-27 21:41:41 -06:00 committed by GitHub
parent 1b38db2d79
commit 1268945840
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,7 @@ export class TypingBubble extends React.PureComponent<Props> {
}
return (
<div className="module-message__author-avatar-container">
<div className="module-message__author-avatar">
<Avatar
avatarPath={avatarPath}
@ -52,6 +53,7 @@ export class TypingBubble extends React.PureComponent<Props> {
size={28}
/>
</div>
</div>
);
}
@ -67,6 +69,8 @@ export class TypingBubble extends React.PureComponent<Props> {
isGroup ? 'module-message--group' : null
)}
>
{this.renderAvatar()}
<div className="module-message__container-outer">
<div
className={classNames(
'module-message__container',
@ -77,7 +81,7 @@ export class TypingBubble extends React.PureComponent<Props> {
<div className="module-message__typing-container">
<TypingAnimation color="light" i18n={i18n} />
</div>
{this.renderAvatar()}
</div>
</div>
</div>
);