Skip to content

Commit a000415

Browse files
author
Marko Petzold
committed
update @material/web to version 2.4.1 and refactor icon component usage
1 parent aae776f commit a000415

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

package-lock.json

Lines changed: 9 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/widget-sidenav.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class WidgetSidenav extends LitElement {
117117
border-radius: 4px;
118118
}
119119
120-
mdif2-icon {
120+
md-icon {
121121
font-family: 'Material Symbols Outlined';
122122
}
123123
@@ -164,10 +164,10 @@ export class WidgetSidenav extends LitElement {
164164
>
165165
${item.iconName
166166
? html`
167-
<mdif2-icon
167+
<md-icon
168168
style="font-size: ${iconFontSize}px;width: ${iconFontSize}px;"
169169
>${item.iconName}
170-
</mdif2-icon>
170+
</md-icon>
171171
`
172172
: ''}
173173
${item.label}

0 commit comments

Comments
 (0)