mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-06-30 17:14:39 +02:00
Fix: fill for icons in side drawer
This commit is contained in:
parent
e119672336
commit
0862aecfc9
1 changed files with 2 additions and 2 deletions
|
@ -12,11 +12,11 @@
|
|||
<div class="w-full overflow-y-auto">
|
||||
<template v-for="item in navItems">
|
||||
<button v-if="item.action" :key="item.text" class="w-full hover:bg-bg/60 flex items-center py-3 px-6 text-fg-muted" @click="clickAction(item.action)">
|
||||
<span class="material-symbols text-lg">{{ item.icon }}</span>
|
||||
<span class="material-symbols fill text-lg">{{ item.icon }}</span>
|
||||
<p class="pl-4">{{ item.text }}</p>
|
||||
</button>
|
||||
<nuxt-link v-else :to="item.to" :key="item.text" class="w-full hover:bg-bg/60 flex items-center py-3 px-6 text-fg" :class="currentRoutePath.startsWith(item.to) ? 'bg-bg-hover/50' : 'text-fg-muted'">
|
||||
<span class="material-symbols text-lg">{{ item.icon }}</span>
|
||||
<span class="material-symbols fill text-lg">{{ item.icon }}</span>
|
||||
<p class="pl-4">{{ item.text }}</p>
|
||||
</nuxt-link>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue