Skip to content

Commit 11c172e

Browse files
committed
wait for fonts to load before rendering page (#416)
1 parent 01a9389 commit 11c172e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

client/src/styles/fonts/robotoCondensed.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
font-family: 'Roboto Condensed';
33
font-style: italic;
44
font-weight: 300;
5-
font-display: swap;
5+
font-display: block;
66
src: url(../../../public/fonts/RobotoCondensed/RobotoCondensed-LightItalic.woff2)
77
format('woff2');
88
}
@@ -11,7 +11,7 @@
1111
font-family: 'Roboto Condensed';
1212
font-style: italic;
1313
font-weight: 400;
14-
font-display: swap;
14+
font-display: block;
1515
src: url(../../../public/fonts/RobotoCondensed/RobotoCondensed-Italic.woff2)
1616
format('woff2');
1717
}
@@ -20,7 +20,7 @@
2020
font-family: 'Roboto Condensed';
2121
font-style: italic;
2222
font-weight: 700;
23-
font-display: swap;
23+
font-display: block;
2424
src: url(../../../public/fonts/RobotoCondensed/RobotoCondensed-BoldItalic.woff2)
2525
format('woff2');
2626
}
@@ -29,7 +29,7 @@
2929
font-family: 'Roboto Condensed';
3030
font-style: normal;
3131
font-weight: 300;
32-
font-display: swap;
32+
font-display: block;
3333
src: url(../../../public/fonts/RobotoCondensed/RobotoCondensed-Light.woff2)
3434
format('woff2');
3535
}
@@ -38,7 +38,7 @@
3838
font-family: 'Roboto Condensed';
3939
font-style: normal;
4040
font-weight: 400;
41-
font-display: swap;
41+
font-display: block;
4242
src: url(../../../public/fonts/RobotoCondensed/RobotoCondensed-Regular.woff2)
4343
format('woff2');
4444
}
@@ -47,7 +47,7 @@
4747
font-family: 'Roboto Condensed';
4848
font-style: normal;
4949
font-weight: 700;
50-
font-display: swap;
50+
font-display: block;
5151
src: url(../../../public/fonts/RobotoCondensed/RobotoCondensed-Bold.woff2)
5252
format('woff2');
5353
}

0 commit comments

Comments
 (0)