Show full thread message in hover title on thread summary (#8568)

This commit is contained in:
Michael Telatynski 2022-05-13 14:32:28 +01:00 committed by GitHub
parent 26bc3ab0aa
commit 438e66bb3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,7 @@ export const ThreadMessagePreview = ({ thread, showDisplayname = false }: IPrevi
{ showDisplayname && <div className="mx_ThreadSummary_sender">
{ lastReply.sender?.name ?? lastReply.getSender() }
</div> }
<div className="mx_ThreadSummary_content">
<div className="mx_ThreadSummary_content" title={preview}>
<span className="mx_ThreadSummary_message-preview">
{ preview }
</span>