mirror of
https://github.com/spacebarchat/client.git
synced 2024-11-22 02:12:38 +01:00
add missing tooltip placement on message timestamp
This commit is contained in:
parent
0b756e4023
commit
11f93c3ad2
@ -121,13 +121,13 @@ export const MessageDetails = observer(({ message, position }: { message: Messag
|
||||
|
||||
return (
|
||||
<DetailBase>
|
||||
<Tooltip title={dayjs(message.timestamp).format("dddd, MMMM MM, h:mm A")}>
|
||||
<Tooltip title={dayjs(message.timestamp).format("dddd, MMMM MM, h:mm A")} placement="top">
|
||||
<time className="copyTime" dateTime={message.timestamp.toISOString()}>
|
||||
{dayjs(message.timestamp).calendar(undefined, calendarStrings)}
|
||||
</time>
|
||||
</Tooltip>
|
||||
{message instanceof Message && message.edited_timestamp && (
|
||||
<Tooltip title={dayjs(message.edited_timestamp).format("dddd, MMMM MM, h:mm A")}>
|
||||
<Tooltip title={dayjs(message.edited_timestamp).format("dddd, MMMM MM, h:mm A")} placement="top">
|
||||
<span className="edited">(edited)</span>
|
||||
</Tooltip>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user