浏览代码

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-family: 'Material Icons';
   font-style: normal;
   font-style: normal;
   font-weight: 400;
   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'),
   src: local('Material Icons'),
        local('MaterialIcons-Regular'),
        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 {
 .material-icons {