Skip to content

Commit db56c4c

Browse files
committed
Merge branch 'bugfix/never-load-font-from-local' into q/1.0
2 parents 8c09a27 + af46bc6 commit db56c4c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/lib/index.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ body {
99
font-family: 'Lato';
1010
font-style: normal;
1111
font-weight: normal;
12-
src: local(''), url('./style/fonts/Lato-Regular.woff2') format('woff2'),
12+
src:
13+
url('./style/fonts/Lato-Regular.woff2') format('woff2'),
1314
/* Chrome 26+, Opera 23+, Firefox 39+ */
1415
url('./style/fonts/Lato-Regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
1516
}
@@ -19,7 +20,8 @@ body {
1920
font-family: 'Lato';
2021
font-style: normal;
2122
font-weight: bold;
22-
src: local(''), url('./style/fonts/Lato-Bold.woff2') format('woff2'),
23+
src:
24+
url('./style/fonts/Lato-Bold.woff2') format('woff2'),
2325
/* Chrome 26+, Opera 23+, Firefox 39+ */ url('./style/fonts/Lato-Bold.woff')
2426
format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
2527
}

0 commit comments

Comments
 (0)