Fix: don't hide text until custom font is loaded.

This commit is contained in:
Sergio Martínez Portela 2022-10-23 21:40:10 +02:00
parent 20b945aa31
commit 2eab1b4351

View File

@ -88,8 +88,11 @@ body nav input {
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/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 {