1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-13 08:02:38 +03:00

Merge pull request #4990 from matrix-org/joriks/irc-layout-truncate-upload-name

ellipse senders for images and videos
This commit is contained in:
Jorik Schellekens
2020-07-17 22:04:19 +01:00
committed by GitHub
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 (