Ensure second line of message body is never visible in LeftPane

This commit is contained in:
Ken Powers 2019-11-06 18:32:40 -05:00 committed by Scott Nonnenberg
parent 0fc384cfa3
commit bbb3b0467f
2 changed files with 1 additions and 2 deletions

View file

@ -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;

View file

@ -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}