Skip to content

Commit

Permalink
fix: change budge width bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Kachanovsky committed Jan 15, 2025
1 parent 04e56a8 commit 5ff261e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion adminforth/spa/src/components/MenuLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
>
<component v-if="item.icon" :is="getIcon(item.icon)" class="w-5 h-5 text-lightSidebarIcons dark:text-darkSidebarIcons transition duration-75 group-hover:text-lightSidebarIconsHover dark:group-hover:text-darkSidebarIconsHover" ></component>
<span class="ms-3">{{ item.label }}</span>
<span v-if="item.badge" class="inline-flex items-center justify-center w-3 h-3 p-3 ms-3 text-sm font-medium rounded-full bg-lightAnnouncementBG dark:bg-darkAnnouncementBG
<span v-if="item.badge" class="inline-flex items-center justify-center h-3 p-3 ms-3 text-sm font-medium rounded-full bg-lightAnnouncementBG dark:bg-darkAnnouncementBG
fill-lightAnnouncementText dark:fill-darkAccent text-lightAnnouncementText dark:text-darkAccent"
style="min-width: 1.5rem; max-width: 3rem;"
>

<Tooltip v-if="item.badgeTooltip">
Expand Down

0 comments on commit 5ff261e

Please sign in to comment.