Skip to content

Commit 0e71a27

Browse files
committed
fix(sidebar): also show background for School Affairs buttons
1 parent dd7e8e1 commit 0e71a27

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/components/custom/sidebar.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ const sidebarData = ref({
162162
<SidebarMenuItem
163163
v-for="item in sidebarData.school"
164164
:key="item.name"
165+
class="rounded"
166+
:class="{ 'bg-foreground/10': $route.path === item.url }"
165167
>
166168
<SidebarMenuButton as-child>
167169
<NuxtLink :href="item.url">

0 commit comments

Comments
 (0)