Skip to content

Commit 7a06f8e

Browse files
committed
feat(app): improved collapsed navigation
1 parent 009eb69 commit 7a06f8e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎app/layouts/default.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const links = [[{
3333
to: '/settings',
3434
icon: 'i-lucide-settings',
3535
defaultOpen: true,
36+
type: 'trigger',
3637
children: [{
3738
label: 'General',
3839
to: '/settings',
@@ -134,12 +135,15 @@ onMounted(async () => {
134135
:collapsed="collapsed"
135136
:items="links[0]"
136137
orientation="vertical"
138+
tooltip
139+
popover
137140
/>
138141

139142
<UNavigationMenu
140143
:collapsed="collapsed"
141144
:items="links[1]"
142145
orientation="vertical"
146+
tooltip
143147
class="mt-auto"
144148
/>
145149
</template>

0 commit comments

Comments
 (0)