Skip to content

Commit 5701e2b

Browse files
authored
Fixes an issue that makes the text missing before the custom font loads
1 parent c5d9697 commit 5701e2b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

style/fonts/clear-sans.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
url("ClearSans-Light-webfont.woff") format("woff");
77
font-weight: 200;
88
font-style: normal;
9+
font-display: swap
910
}
1011

1112
@font-face {
@@ -16,6 +17,7 @@
1617
url("ClearSans-Regular-webfont.woff") format("woff");
1718
font-weight: normal;
1819
font-style: normal;
20+
font-display: swap
1921
}
2022

2123
@font-face {
@@ -26,5 +28,6 @@
2628
url("ClearSans-Bold-webfont.woff") format("woff");
2729
font-weight: 700;
2830
font-style: normal;
31+
font-display: swap
2932
}
3033

0 commit comments

Comments
 (0)