Skip to content

Commit 34b48c0

Browse files
committed
improved material icons loading
1 parent 517d5ca commit 34b48c0

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

www/css/googleMaterialIcons.css

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
/* fallback */
22
@font-face {
3-
font-family: 'Material Icons';
4-
font-style: normal;
5-
font-weight: 400;
6-
src: local('Material Icons'),
7-
local('MaterialIcons-Regular'),
3+
font-family: 'Material Icons';
4+
font-style: normal;
5+
font-weight: 400;
6+
src: /* local('Material Icons'),
7+
local('MaterialIcons-Regular'), */
88
url(googleMaterialIcons-2020-06-01.woff2) format('woff2'),
99
url(googleMaterialIcons-2020-06-01.woff) format('woff');
10-
font-display: block;
10+
font-display: block;
1111
}
1212

1313
.material-icons {
14-
font-family: 'Material Icons';
15-
font-weight: normal;
16-
font-style: normal;
17-
font-size: 24px;
18-
line-height: 1;
19-
letter-spacing: normal;
20-
text-transform: none;
21-
display: inline-block;
22-
white-space: nowrap;
23-
word-wrap: normal;
24-
direction: ltr;
25-
-webkit-font-feature-settings: 'liga';
26-
-moz-font-feature-settings: 'liga';
27-
font-feature-settings: 'liga';
28-
-webkit-font-smoothing: antialiased;
29-
-moz-osx-font-smoothing: grayscale;
14+
font-family: 'Material Icons', sans-serif;
15+
font-weight: normal;
16+
font-style: normal;
17+
font-size: 24px;
18+
line-height: 1;
19+
letter-spacing: normal;
20+
text-transform: none;
21+
display: inline-block;
22+
white-space: nowrap;
23+
word-wrap: normal;
24+
direction: ltr;
25+
-webkit-font-feature-settings: 'liga';
26+
-moz-font-feature-settings: 'liga';
27+
font-feature-settings: 'liga';
28+
-webkit-font-smoothing: antialiased;
29+
-moz-osx-font-smoothing: grayscale;
3030
}

0 commit comments

Comments
 (0)