Skip to content

Commit

Permalink
remove unused width and height
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jul 26, 2020
1 parent a05713b commit 4d90f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/icon-service/mdi.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function createMDIIcon(iconName, iconSize) {
const icon = document.createElement("div");
icon.style.verticalAlign = "bottom"
icon.innerHTML = `
<svg style='width:${iconSize}px; height:${iconSize}px' viewBox='0 0 24 24'>
<svg viewBox='0 0 24 24'>
<path fill='currentColor', d='${iconData}'/>
<svg/>
`
Expand Down

0 comments on commit 4d90f10

Please sign in to comment.