From: Chocobozzz Date: Tue, 19 Jan 2021 09:35:16 +0000 (+0100) Subject: Add font display swap X-Git-Tag: v3.1.0-rc.1~299 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=2656729e25ba438d3f80f5178a430b2c54339bb3;hp=9f39c5466ea643bc46bc4d4751ce09cb05b6c762;p=github%2FChocobozzz%2FPeerTube.git Add font display swap --- diff --git a/client/src/sass/include/_fonts.scss b/client/src/sass/include/_fonts.scss index be1132160..6313736e0 100644 --- a/client/src/sass/include/_fonts.scss +++ b/client/src/sass/include/_fonts.scss @@ -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'); }