We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a05713b commit 4d90f10Copy full SHA for 4d90f10
lib/icon-service/mdi.js
@@ -15,7 +15,7 @@ export async function createMDIIcon(iconName, iconSize) {
15
const icon = document.createElement("div");
16
icon.style.verticalAlign = "bottom"
17
icon.innerHTML = `
18
- <svg style='width:${iconSize}px; height:${iconSize}px' viewBox='0 0 24 24'>
+ <svg viewBox='0 0 24 24'>
19
<path fill='currentColor', d='${iconData}'/>
20
<svg/>
21
`
0 commit comments