🐛 Fix emoji rendering (#2030)

Thanks.
This commit is contained in:
Warren Seine 2020-08-13 16:29:33 +02:00 committed by GitHub
parent c0dd870c6e
commit 5670c47789
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 3 deletions

View File

@ -42,6 +42,10 @@
background-color: var(--button-gray-1);
}
.RoomDialog-emoji {
font-family: sans-serif;
}
.RoomDialog-usernameContainer {
display: flex;
margin: 1.5em 0;

View File

@ -90,10 +90,15 @@ const RoomModal = ({
onKeyPress={(event) => event.key === "Enter" && onPressingEnter()}
/>
</div>
<p>{`🔒 ${t("roomDialog.desc_privacy")}`}</p>
<p>
<span role="img" aria-hidden="true">
<span role="img" aria-hidden="true" className="RoomDialog-emoji">
{"🔒"}
</span>{" "}
{t("roomDialog.desc_privacy")}
</p>
<p>
<span role="img" aria-hidden="true" className="RoomDialog-emoji">
{"⚠️️"}
</span>{" "}
{t("roomDialog.desc_persistenceWarning")}
</p>