fix(size): set svg width/height to 1em

This commit is contained in:
Adam Bradley
2017-09-20 08:15:29 -05:00
parent 98f6a26501
commit 4ad70a9a00
+2
View File
@@ -26,6 +26,8 @@ jpml.generate({
return path.replace('.svg', '');
},
wrapper: function(content, key) {
content = content.replace('<svg ', '<svg width="1em" height="1em" ');
return "loadIonicon('" + content.replace(/'/g, "\\\'") + "','" + key + "');"
}
});