Skip to content

Commit

Permalink
Adjust c-sidebar-nav-items UI/UX
Browse files Browse the repository at this point in the history
  • Loading branch information
Fajfa committed Jan 7, 2025
1 parent 62ebe69 commit 9180c51
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/vue/src/components/navigation/CSidebarNavItems.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
v-for="({page = {}, params = {}, children = []}) of items"
:key="pageIndex(page)"
variant="link"
class="w-100 text-decoration-none p-0 pt-2 nav-item"
class="w-100 text-decoration-none p-0 pt-2 pb-1 nav-item"
active-class="nav-active"
exact-active-class="nav-active"
:title="page.title"
:to="{ name: page.name || defaultRouteName, params }"
>
<span
class="d-inline-block w-75 text-nowrap text-truncate"
class="d-inline-block w-75"
@click="closeSidebar()"
>
<template
Expand All @@ -27,7 +27,7 @@
:src="page.icon"
class="mr-1"
style="height: 1.5em; width: 1.5em;"
/>
>
</template>
</template>
<label
Expand All @@ -43,17 +43,17 @@
<b-button
variant="outline-light"
size="sm"
class="text-primary p-0 border-0 float-right mr-1"
class="p-0 border-0 float-right mr-1"
@click.self.stop.prevent="toggle(page)"
>
<font-awesome-icon
v-if="!collapses[pageIndex(page)]"
class="pointer-none"
class="pointer-none text-dark"
:icon="['fas', 'chevron-down']"
/>
<font-awesome-icon
v-else
class="pointer-none"
class="pointer-none text-primary"
:icon="['fas', 'chevron-up']"
/>
</b-button>
Expand Down

0 comments on commit 9180c51

Please sign in to comment.