Skip to content

Commit

Permalink
Change chevron type and add animation
Browse files Browse the repository at this point in the history
  • Loading branch information
Inglan committed Jan 3, 2025
1 parent 224968f commit 076731c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/components/app-sidebar.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import * as Sidebar from '$lib/components/ui/sidebar/index.js';
import Wrench from 'lucide-svelte/icons/wrench';
import ChevronsUpDown from 'lucide-svelte/icons/chevrons-up-down';
import ChevronRight from 'lucide-svelte/icons/chevron-right';
import Search from 'lucide-svelte/icons/search';
import Check from 'lucide-svelte/icons/check';
import type { ComponentProps } from 'svelte';
Expand Down Expand Up @@ -154,8 +154,8 @@
{#snippet child({ props })}
<a class=" font-medium" {...props}>
{groupItem.title}
<ChevronsUpDown
class="ml-auto group-data-[state=open]/collapsible:rotate-90"
<ChevronRight
class="ml-auto duration-300 group-data-[state=open]/collapsible:rotate-90"
/>
</a>
{/snippet}
Expand Down

0 comments on commit 076731c

Please sign in to comment.