ellipse senders for images and videos

This commit is contained in:
Jorik Schellekens 2020-07-16 02:52:16 +01:00
parent e1cf5ecd2f
commit e873ba9608
2 changed files with 6 additions and 3 deletions

View file

@ -125,8 +125,10 @@ export default createReactClass({
</span>;
const content = this.props.text ?
<span className="mx_SenderProfile_aux">
{ _t(this.props.text, { senderName: () => nameElem }) }
<span>
<span className="mx_SenderProfile_aux">
{ _t(this.props.text, { senderName: () => nameElem }) }
</span>
</span> : nameFlair;
return (