fix(chat): tweak layouts of chat user badges. Closes #3009

This commit is contained in:
Gabe Kangas
2023-05-31 14:49:42 -07:00
parent 59ee7fd199
commit 924223328c
5 changed files with 13 additions and 4 deletions

View File

@@ -19,6 +19,10 @@ $p-v-size: 2px;
font-weight: 600;
}
.userBadges {
margin-left: 3px;
}
.message {
overflow: hidden;
overflow-wrap: anywhere;

View File

@@ -101,7 +101,7 @@ export const ChatUserMessage: FC<ChatUserMessageProps> = ({
<UserTooltip user={user}>
<div className={styles.user} style={{ color }}>
<span className={styles.userName}>{displayName}</span>
{badgeNodes}
<span className={styles.userBadges}>{badgeNodes}</span>
</div>
</UserTooltip>
)}