Skip to content

Commit 76ccd76

Browse files
committed
fix emoji on ios
1 parent 3d466d8 commit 76ccd76

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/sass/_fonts.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,12 @@
182182
font-display: swap;
183183
}
184184

185-
@font-face {
186-
font-family: NotoColorEmoji;
187-
src: url('/fonts/NotoColorEmoji-Regular.ttf') format('truetype');
185+
// iOS doesn't support NotoColorEmoji
186+
@supports not (-webkit-touch-callout: none) {
187+
@font-face {
188+
font-family: NotoColorEmoji;
189+
src: url('/fonts/NotoColorEmoji-Regular.ttf') format('truetype');
190+
}
188191
}
189192

190193
$header: Novela, Lora, sans-serif;

0 commit comments

Comments
 (0)