Skip to content

Commit 201fb88

Browse files
committed
fix: update alignment
1 parent 98f1313 commit 201fb88

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

adminforth/spa/src/components/Sidebar.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,11 @@
9191
</button>
9292

9393
<transition name="slow-drop">
94-
<ul v-show="opened.includes(i)" :id="`dropdown-example${i}`" role="none" class="af-sidebar-dropdown pt-1 space-y-1 overflow-hidden"> <template v-for="(child, j) in item.children" :key="`menu-${i}-${j}`">
95-
<li class="af-sidebar-menu-link">
96-
<MenuLink :item="child" isChild="true" @click="$emit('hideSidebar')"/>
97-
</li>
94+
<ul v-show="opened.includes(i)" :id="`dropdown-example${i}`" role="none" class="af-sidebar-dropdown pt-1 space-y-1 overflow-hidden">
95+
<template v-for="(child, j) in item.children" :key="`menu-${i}-${j}`">
96+
<li class="af-sidebar-menu-link">
97+
<MenuLink :item="child" isChild="true" @click="$emit('hideSidebar')"/>
98+
</li>
9899
</template>
99100
</ul>
100101
</transition>

0 commit comments

Comments
 (0)