Skip to content

Commit 4d90f10

Browse files
committed
remove unused width and height
1 parent a05713b commit 4d90f10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/icon-service/mdi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export async function createMDIIcon(iconName, iconSize) {
1515
const icon = document.createElement("div");
1616
icon.style.verticalAlign = "bottom"
1717
icon.innerHTML = `
18-
<svg style='width:${iconSize}px; height:${iconSize}px' viewBox='0 0 24 24'>
18+
<svg viewBox='0 0 24 24'>
1919
<path fill='currentColor', d='${iconData}'/>
2020
<svg/>
2121
`

0 commit comments

Comments
 (0)