Commit b81a933ba24dfa34c5367dcaba61951c81219288
1 parent
6027958c
UI: Added preload Material Icons font
Showing
3 changed files
with
7 additions
and
1 deletions
... | ... | @@ -24,6 +24,8 @@ |
24 | 24 | |
25 | 25 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
26 | 26 | <link rel="icon" type="image/x-icon" href="thingsboard.ico"> |
27 | + <link rel="preload" href="fonts/MaterialIcons-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" /> | |
28 | + <link rel="stylesheet" href="fonts/material-icons.css" /> | |
27 | 29 | <style type="text/css"> |
28 | 30 | |
29 | 31 | body, html { | ... | ... |
... | ... | @@ -15,7 +15,6 @@ |
15 | 15 | */ |
16 | 16 | /* You can add global styles to this file, and also import other style files */ |
17 | 17 | |
18 | -@import '~material-design-icons/iconfont/material-icons.css'; | |
19 | 18 | @import '~typeface-roboto/index.css'; |
20 | 19 | @import '~font-awesome/css/font-awesome.min.css'; |
21 | 20 | @import 'theme.scss'; | ... | ... |