mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-12-01 16:56:28 +01:00
fix(size): set svg width/height to 1em
This commit is contained in:
@@ -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 + "');"
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user