From 5f7fe32fb211786eb91446c24a0ceccedf63d28f Mon Sep 17 00:00:00 2001 From: Helene Kassandra <39946146+HeleneKassandra@users.noreply.github.com> Date: Tue, 7 Nov 2023 12:33:38 +0100 Subject: [PATCH] fix(ffe-symbols): endre loading strategy font-display --- packages/ffe-symbols/ffe-symbol-font-inline.less | 12 ++++++------ packages/ffe-symbols/ffe-symbol.less | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/ffe-symbols/ffe-symbol-font-inline.less b/packages/ffe-symbols/ffe-symbol-font-inline.less index 21f45e32ec..de3f1b6a31 100644 --- a/packages/ffe-symbols/ffe-symbol-font-inline.less +++ b/packages/ffe-symbols/ffe-symbol-font-inline.less @@ -4,7 +4,7 @@ @font-face { font-family: 'MaterialSymbolsRounded-300'; font-style: normal; - font-display: fallback; + font-display: block; src: data-uri('@{icons-data-uri}/MaterialSymbolsRounded300.woff2') format('woff2'); } @@ -12,7 +12,7 @@ @font-face { font-family: 'MaterialSymbolsRounded-400'; font-style: normal; - font-display: fallback; + font-display: block; src: data-uri('@{icons-data-uri}/MaterialSymbolsRounded400.woff2') format('woff2'); } @@ -20,7 +20,7 @@ @font-face { font-family: 'MaterialSymbolsRounded-500'; font-style: normal; - font-display: fallback; + font-display: block; src: data-uri('@{icons-data-uri}/MaterialSymbolsRounded500.woff2') format('woff2'); } @@ -30,7 +30,7 @@ @font-face { font-family: 'MaterialSymbolsRoundedFilled-300'; font-style: normal; - font-display: fallback; + font-display: block; src: data-uri('@{icons-data-uri}/MaterialSymbolsRoundedFilled300.woff2') format('woff2'); } @@ -38,7 +38,7 @@ @font-face { font-family: 'MaterialSymbolsRoundedFilled-400'; font-style: normal; - font-display: fallback; + font-display: block; src: data-uri('@{icons-data-uri}/MaterialSymbolsRoundedFilled400.woff2') format('woff2'); } @@ -46,7 +46,7 @@ @font-face { font-family: 'MaterialSymbolsRoundedFilled-500'; font-style: normal; - font-display: fallback; + font-display: block; src: data-uri('@{icons-data-uri}/MaterialSymbolsRoundedFilled500.woff2') format('woff2'); } diff --git a/packages/ffe-symbols/ffe-symbol.less b/packages/ffe-symbols/ffe-symbol.less index d34374ee00..9348f3dc06 100644 --- a/packages/ffe-symbols/ffe-symbol.less +++ b/packages/ffe-symbols/ffe-symbol.less @@ -4,21 +4,21 @@ @font-face { font-family: 'MaterialSymbolsRounded-300'; font-style: normal; - font-display: fallback; + font-display: block; src: url('@{icons-url}/MaterialSymbolsRounded300.woff2') format('woff2'); } @font-face { font-family: 'MaterialSymbolsRounded-400'; font-style: normal; - font-display: fallback; + font-display: block; src: url('@{icons-url}/MaterialSymbolsRounded400.woff2') format('woff2'); } @font-face { font-family: 'MaterialSymbolsRounded-500'; font-style: normal; - font-display: fallback; + font-display: block; src: url('@{icons-url}/MaterialSymbolsRounded500.woff2') format('woff2'); } @@ -27,7 +27,7 @@ @font-face { font-family: 'MaterialSymbolsRoundedFilled-300'; font-style: normal; - font-display: fallback; + font-display: block; src: url('@{icons-url}/MaterialSymbolsRoundedFilled300.woff2') format('woff2'); } @@ -35,7 +35,7 @@ @font-face { font-family: 'MaterialSymbolsRoundedFilled-400'; font-style: normal; - font-display: fallback; + font-display: block; src: url('@{icons-url}/MaterialSymbolsRoundedFilled400.woff2') format('woff2'); } @@ -43,7 +43,7 @@ @font-face { font-family: 'MaterialSymbolsRoundedFilled-500'; font-style: normal; - font-display: fallback; + font-display: block; src: url('@{icons-url}/MaterialSymbolsRoundedFilled500.woff2') format('woff2'); }