Skip to content

Commit 4bc0a0a

Browse files
committed
TF-1302 Fix Emoji in the picker is different from the emoji in the composer when picked
1 parent 3e99022 commit 4bc0a0a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

core/lib/utils/html/html_template.dart

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,15 @@ class HtmlTemplate {
7777
font-style: bold;
7878
}
7979
80-
body {
81-
font-family: 'Inter', sans-serif;
80+
@font-face {
81+
font-family: 'NotoColorEmoji';
82+
src: url('/assets/fonts/fallback/NotoColorEmoji-Regular.ttf') format('truetype');
83+
font-weight: normal;
84+
font-style: normal;
85+
}
86+
87+
body, [contenteditable="true"], textarea, input {
88+
font-family: 'Inter', 'NotoColorEmoji', sans-serif;
8289
}
8390
''';
8491

0 commit comments

Comments
 (0)