]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add font display swap
authorChocobozzz <me@florianbigard.com>
Tue, 19 Jan 2021 09:35:16 +0000 (10:35 +0100)
committerChocobozzz <me@florianbigard.com>
Tue, 19 Jan 2021 09:35:16 +0000 (10:35 +0100)
client/src/sass/include/_fonts.scss

index be11321605acf1fc6692f9c402c2930d31e44fda..6313736e0e07c0d9a613af1cfffe27df294116e7 100644 (file)
@@ -3,6 +3,7 @@
   font-weight: 200 900;
   font-style: normal;
   font-stretch: normal;
+  font-display: swap;
   src: url('../fonts/source-sans/WOFF2/VAR/SourceSans3VF-Roman.ttf.woff2') format('woff2');
 }
 
@@ -11,5 +12,6 @@
   font-weight: 200 900;
   font-style: italic;
   font-stretch: normal;
+  font-display: swap;
   src: url('../fonts/source-sans/WOFF2/VAR/SourceSans3VF-Italic.ttf.woff2') format('woff2');
 }