Move title up a level to allow mouse hover to show timestamp (#3926)

* Move title up a level to allow mouse hover to show timestamp

* Fix bad commit to resolve 3848

---------

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
This commit is contained in:
Aelly Alwardi
2024-09-19 23:15:49 -04:00
committed by GitHub
parent ac3cc16250
commit 84f0dd07ae

View File

@@ -96,7 +96,7 @@ export const ChatUserMessage: FC<ChatUserMessageProps> = ({
[styles.ownMessage]: sentBySelf,
})}
style={{ borderColor: color }}
>
title={formattedTimestamp}>
<div className={styles.background} style={{ color }} />
<UserTooltip user={user}>
@@ -105,7 +105,7 @@ export const ChatUserMessage: FC<ChatUserMessageProps> = ({
<span className={styles.userBadges}>{badgeNodes}</span>
</div>
</UserTooltip>
<Tooltip title={formattedTimestamp} mouseEnterDelay={1}>
<Tooltip mouseEnterDelay={1}>
<Interweave
className={styles.message}
content={body}