fix: resize Font Awesome icon (#1897)
This commit is contained in:
parent
5c2c312c5c
commit
bb21f6ed3e
@ -95,7 +95,9 @@
|
||||
:class='(navItem === current) ? "blue" : ""'
|
||||
@click='selectItem(navItem)'
|
||||
)
|
||||
v-list-item-avatar(size='24', tile): v-icon {{navItem.icon}}
|
||||
v-list-item-avatar(size='24', tile)
|
||||
v-icon(v-if='navItem.icon.match(/fa[a-z] fa-/)', size='19') {{ navItem.icon }}
|
||||
v-icon(v-else) {{ navItem.icon }}
|
||||
v-list-item-title {{navItem.label}}
|
||||
.py-2.clickable(
|
||||
v-else-if='navItem.kind === "divider"'
|
||||
|
@ -20,7 +20,8 @@
|
||||
:rel='item.y === `externalblank` ? `noopener` : ``'
|
||||
)
|
||||
v-list-item-avatar(size='24', tile)
|
||||
v-icon {{ item.c }}
|
||||
v-icon(v-if='item.c.match(/fa[a-z] fa-/)', size='19') {{ item.c }}
|
||||
v-icon(v-else) {{ item.c }}
|
||||
v-list-item-title {{ item.l }}
|
||||
v-divider.my-2(v-else-if='item.k === `divider`')
|
||||
v-subheader.pl-4(v-else-if='item.k === `header`') {{ item.l }}
|
||||
|
Loading…
Reference in New Issue
Block a user