Fix rendering of long names in <DeliveryIssueNotification>

This commit is contained in:
Evan Hahn 2021-09-02 12:34:00 -05:00 committed by GitHub
parent c7b7a355ba
commit 808ade2a8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 51 additions and 33 deletions

View file

@ -49,13 +49,15 @@ export function DeliveryIssueNotification(
<div className="SystemMessage SystemMessage--multiline">
<div className="SystemMessage__line">
<span className="SystemMessage__icon SystemMessage__icon--info" />
<Intl
id="DeliveryIssue--notification"
components={{
sender: <Emojify text={sender.firstName || sender.title} />,
}}
i18n={i18n}
/>
<span>
<Intl
id="DeliveryIssue--notification"
components={{
sender: <Emojify text={sender.firstName || sender.title} />,
}}
i18n={i18n}
/>
</span>
</div>
<div className="SystemMessage__line">
<Button