File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
adminforth/spa/src/components Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 12
12
>
13
13
<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 >
14
14
<span class =" text-ellipsis overflow-hidden ms-3" >{{ item.label }}</span >
15
- <span v-if =" item.badge" class =" inline-flex items-center justify-center h-3 py-3 px-1 ms-3 text-sm font-medium rounded-full bg-lightAnnouncementBG dark:bg-darkAnnouncementBG
16
- fill-lightAnnouncementText dark:fill-darkAccent text-lightAnnouncementText dark:text-darkAccent min-w-[1.5rem] max-w-[3rem]"
15
+ <span v-if =" item.badge"
17
16
>
18
17
19
18
<Tooltip v-if =" item.badgeTooltip" >
20
- {{ item.badge }}
19
+ <div class =" inline-flex items-center justify-center h-3 py-3 px-1 ms-3 text-sm font-medium rounded-full bg-lightAnnouncementBG dark:bg-darkAnnouncementBG
20
+ fill-lightAnnouncementText dark:fill-darkAccent text-lightAnnouncementText dark:text-darkAccent min-w-[1.5rem] max-w-[3rem]" >{{ item.badge }}</div >
21
21
22
22
<template #tooltip >
23
23
{{ item.badgeTooltip }}
24
24
</template >
25
25
</Tooltip >
26
26
<template v-else >
27
- {{ item.badge }}
27
+ <div class =" inline-flex items-center justify-center h-3 py-3 px-1 ms-3 text-sm font-medium rounded-full bg-lightAnnouncementBG dark:bg-darkAnnouncementBG
28
+ fill-lightAnnouncementText dark:fill-darkAccent text-lightAnnouncementText dark:text-darkAccent min-w-[1.5rem] max-w-[3rem]" >{{ item.badge }}</div >
28
29
</template >
29
30
30
31
</span >
You can’t perform that action at this time.
0 commit comments