Preload emoji flags to avoid glyph fallback
This commit is contained in:
@@ -164,3 +164,12 @@ h3 {
|
||||
background: #e0564f;
|
||||
color: #fffaf3;
|
||||
}
|
||||
|
||||
.emoji-preload {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
inset: 0;
|
||||
font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
|
||||
font-size: 1px; /* tiny but triggers early font fetch */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user