Chat: Fix broken layout for multiline draft
This commit is contained in:
parent
b1b09d9f41
commit
730e412eeb
@ -250,7 +250,7 @@ const Chat: FC<OwnProps & StateProps> = ({
|
|||||||
return (
|
return (
|
||||||
<p className="last-message" dir={lang.isRtl ? 'auto' : 'ltr'}>
|
<p className="last-message" dir={lang.isRtl ? 'auto' : 'ltr'}>
|
||||||
<span className="draft">{lang('Draft')}</span>
|
<span className="draft">{lang('Draft')}</span>
|
||||||
{renderTextWithEntities(draft.text, draft.entities)}
|
{renderTextWithEntities(draft.text, draft.entities, undefined, undefined, undefined, undefined, true)}
|
||||||
</p>
|
</p>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user