Ensure second line of message body is never visible in LeftPane
This commit is contained in:
parent
0fc384cfa3
commit
bbb3b0467f
2 changed files with 1 additions and 2 deletions
|
@ -2933,7 +2933,6 @@ $timer-icons: '55', '50', '45', '40', '35', '30', '25', '20', '15', '10', '05',
|
|||
|
||||
@include font-body-2;
|
||||
|
||||
height: 1.4em;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
|
|
|
@ -181,7 +181,7 @@ export class ConversationListItem extends React.PureComponent<Props> {
|
|||
</span>
|
||||
) : null}
|
||||
<MessageBody
|
||||
text={text}
|
||||
text={text.split('\n')[0]}
|
||||
disableJumbomoji={true}
|
||||
disableLinks={true}
|
||||
i18n={i18n}
|
||||
|
|
Loading…
Reference in a new issue