mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Add tooltips to message previews
Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
parent
ae5b6ef831
commit
c9c53dbcd7
1 changed files with 5 additions and 1 deletions
|
@ -563,7 +563,11 @@ export default class RoomTile extends React.PureComponent<IProps, IState> {
|
|||
let messagePreview = null;
|
||||
if (this.showMessagePreview && this.state.messagePreview) {
|
||||
messagePreview = (
|
||||
<div className="mx_RoomTile_messagePreview" id={messagePreviewId(this.props.room.roomId)}>
|
||||
<div
|
||||
className="mx_RoomTile_messagePreview"
|
||||
id={messagePreviewId(this.props.room.roomId)}
|
||||
title={this.state.messagePreview}
|
||||
>
|
||||
{this.state.messagePreview}
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue