소스 검색

fixing font path

Rodja Trappe 2 년 전
부모
커밋
d57f8081cf
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      nicegui/static/templates/local/materialdesignicons/iconfont/material-icons.css

+ 4 - 4
nicegui/static/templates/local/materialdesignicons/iconfont/material-icons.css

@@ -2,12 +2,12 @@
   font-family: 'Material Icons';
   font-style: normal;
   font-weight: 400;
-  src: url(/templates/materialdesignicons/iconfont/MaterialIcons-Regular.eot); /* For IE6-8 */
+  src: url(templates/materialdesignicons/iconfont/MaterialIcons-Regular.eot); /* For IE6-8 */
   src: local('Material Icons'),
        local('MaterialIcons-Regular'),
-       url(/templates/local/materialdesignicons/iconfont/MaterialIcons-Regular.woff2) format('woff2'),
-       url(/templates/local/materialdesignicons/iconfont/MaterialIcons-Regular.woff) format('woff'),
-       url(/templates/local/materialdesignicons/iconfont/MaterialIcons-Regular.ttf) format('truetype');
+       url(templates/local/materialdesignicons/iconfont/MaterialIcons-Regular.woff2) format('woff2'),
+       url(templates/local/materialdesignicons/iconfont/MaterialIcons-Regular.woff) format('woff'),
+       url(templates/local/materialdesignicons/iconfont/MaterialIcons-Regular.ttf) format('truetype');
 }
 
 .material-icons {