Browse Source

Fix: add layer to font import

Jonathan Kelley 1 week ago
parent
commit
245ca9bce2

+ 1 - 1
packages/cli/assets/web/dev.index.html

@@ -7,7 +7,7 @@
         <meta charset="UTF-8">
         <style>
             /* Inter Font */
-            @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
+            @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap') layer;
 
             #dx-toast-template {
                 display: none;

+ 1 - 1
packages/desktop/src/assets/dev.index.html

@@ -5,7 +5,7 @@
         <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
         <style>
             /* Inter Font */
-            @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
+            @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap') layer;
 
             #dx-toast-template {
                 display: none;