fix(style): usermenu styles

This commit is contained in:
ArneBo 2025-01-03 14:44:02 +01:00 committed by upsiflu
parent 3f2dfc95b3
commit 90ae581379
2 changed files with 12 additions and 13 deletions

View File

@ -65,6 +65,8 @@
.popover-item {
cursor: pointer;
color: var(--color) !important;
text-decoration: none;
padding-left: 8px;
height: 32px;
display: flex;

View File

@ -70,21 +70,18 @@ const labels = computed(() => ({
{{ labels.notifications }}
</Link>
</PopoverItem>
<PopoverItem v-if="store.state.auth.authenticated">
<Link
:to="{name: 'profile.overview', params: { username: store.state.auth.username },}"
icon="bi-person-fill"
>
{{ labels.profile }}
</Link>
</PopoverItem>
<PopoverItem v-if="store.state.auth.authenticated">
<Link
:to="{ path: '/settings' }"
icon="bi-gear-fill"
<PopoverItem
v-if="store.state.auth.authenticated"
:to="{name: 'profile.overview', params: { username: store.state.auth.username },}"
>
<i class="bi bi-person-fill"/>
{{ labels.profile }}
</PopoverItem>
<PopoverItem v-if="store.state.auth.authenticated"
:to="{ path: '/settings' }"
>
<i class="bi bi-gear-fill" />
{{ labels.settings }}
</Link>
</PopoverItem>
<hr v-if="store.state.auth.authenticated"/>
<PopoverItem @click="store.commit('ui/toggleModal', 'languages')"