forked from Mirrors/elk
fix: even spacing of icons and text in navbar (#995)
This commit is contained in:
parent
95dda1fdb6
commit
7c58d89044
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ const { notifications } = useNotifications()
|
||||||
<NavSideItem :text="$t('nav.notifications')" to="/notifications" icon="i-ri:notification-4-line" user-only :command="command">
|
<NavSideItem :text="$t('nav.notifications')" to="/notifications" icon="i-ri:notification-4-line" user-only :command="command">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<div flex relative>
|
<div flex relative>
|
||||||
<div class="i-ri:notification-4-line" md:text-size-inherit text-xl />
|
<div class="i-ri:notification-4-line" text-xl />
|
||||||
<div v-if="notifications" class="top-[-0.3rem] right-[-0.3rem]" absolute font-bold rounded-full h-4 w-4 text-xs bg-primary text-inverted flex items-center justify-center>
|
<div v-if="notifications" class="top-[-0.3rem] right-[-0.3rem]" absolute font-bold rounded-full h-4 w-4 text-xs bg-primary text-inverted flex items-center justify-center>
|
||||||
{{ notifications < 10 ? notifications : '•' }}
|
{{ notifications < 10 ? notifications : '•' }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue