فهرست منبع

prefix properties with "font-"

Gildas 7 سال پیش
والد
کامیت
5fd0f62046
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      lib/single-file/single-file-core.js

+ 1 - 1
lib/single-file/single-file-core.js

@@ -625,7 +625,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 						stylesheetContent += "@font-face{";
 						let propertiesContent = "";
 						Object.keys(details).forEach(detail => {
-							propertiesContent += detail + ":" + details[detail];
+							propertiesContent += "font-" + detail + ":" + details[detail];
 							propertiesContent += ";";
 						});
 						propertiesContent += "font-family:\"" + name + "\";";