Fix: don't hide text until custom font is loaded.
This commit is contained in:
parent
20b945aa31
commit
2eab1b4351
@ -88,8 +88,11 @@ body nav input {
|
|||||||
url('./fonts/atkinson-hyperlegible/woff2/Atkinson-Hyperlegible-Regular-102a.woff2') format('woff2'),
|
url('./fonts/atkinson-hyperlegible/woff2/Atkinson-Hyperlegible-Regular-102a.woff2') format('woff2'),
|
||||||
url('./fonts/atkinson-hyperlegible/woff/Atkinson-Hyperlegible-Regular-102.woff') format('woff'),
|
url('./fonts/atkinson-hyperlegible/woff/Atkinson-Hyperlegible-Regular-102.woff') format('woff'),
|
||||||
url('./fonts/atkinson-hyperlegible/ttf/Atkinson-Hyperlegible-Regular-102.ttf') format('truetype');
|
url('./fonts/atkinson-hyperlegible/ttf/Atkinson-Hyperlegible-Regular-102.ttf') format('truetype');
|
||||||
|
|
||||||
|
/* Make sure text is displayed ASAP, even if this font is not ready. */
|
||||||
|
font-display: swap;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* Node styling */
|
/* Node styling */
|
||||||
.node {
|
.node {
|
||||||
|
Loading…
Reference in New Issue
Block a user