cf-elements 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cf-elements.js +2 -1
- package/package.json +1 -1
package/cf-elements.js
CHANGED
|
@@ -1088,8 +1088,9 @@
|
|
|
1088
1088
|
};
|
|
1089
1089
|
|
|
1090
1090
|
// Apply font-family for inheritance by child elements
|
|
1091
|
+
// Use single quotes to avoid breaking the HTML style attribute
|
|
1091
1092
|
if (font) {
|
|
1092
|
-
styles["font-family"] = `
|
|
1093
|
+
styles["font-family"] = `'${font}', sans-serif`;
|
|
1093
1094
|
}
|
|
1094
1095
|
|
|
1095
1096
|
if (gradient) {
|
package/package.json
CHANGED