ellipse senders for images and videos
This commit is contained in:
parent
e1cf5ecd2f
commit
e873ba9608
2 changed files with 6 additions and 3 deletions
|
@ -181,7 +181,8 @@ $irc-line-height: $font-18px;
|
||||||
> span {
|
> span {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
> .mx_SenderProfile_name {
|
> .mx_SenderProfile_name,
|
||||||
|
> .mx_SenderProfile_aux {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
|
@ -125,8 +125,10 @@ export default createReactClass({
|
||||||
</span>;
|
</span>;
|
||||||
|
|
||||||
const content = this.props.text ?
|
const content = this.props.text ?
|
||||||
<span className="mx_SenderProfile_aux">
|
<span>
|
||||||
{ _t(this.props.text, { senderName: () => nameElem }) }
|
<span className="mx_SenderProfile_aux">
|
||||||
|
{ _t(this.props.text, { senderName: () => nameElem }) }
|
||||||
|
</span>
|
||||||
</span> : nameFlair;
|
</span> : nameFlair;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue