mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-09 16:23:14 +00:00
Nest sticker image element for correct positioning of tooltips.
This commit is contained in:
@@ -53,6 +53,7 @@ export default class MStickerBody extends MImageBody {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<span className="mx_MImageBody" ref="body">
|
<span className="mx_MImageBody" ref="body">
|
||||||
|
<div className="mx_MImageBody_thumbnail_container">
|
||||||
<img className="mx_MImageBody_thumbnail" src={thumbUrl} ref="image"
|
<img className="mx_MImageBody_thumbnail" src={thumbUrl} ref="image"
|
||||||
alt={content.body}
|
alt={content.body}
|
||||||
onLoad={this.props.onWidgetLoad}
|
onLoad={this.props.onWidgetLoad}
|
||||||
@@ -60,6 +61,7 @@ export default class MStickerBody extends MImageBody {
|
|||||||
onMouseLeave={this._onMouseLeave}
|
onMouseLeave={this._onMouseLeave}
|
||||||
/>
|
/>
|
||||||
{ tooltip }
|
{ tooltip }
|
||||||
|
</div>
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user