Skip to content

Commit 845e117

Browse files
authored
fix: change chevron direction (#630)
* fix: change chevron direction * fix: format code
1 parent 3cbc0b6 commit 845e117

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

apps/website/src/components/Menu.astro

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@ const { className, title } = Astro.props;
1212

1313
<div class={classNames("relative group flex gap-2 items-center", className)}>
1414
<div class="hidden group-hover:grid z-10 absolute">
15-
<div
16-
class="bg-[#3C3843E5] min-w-56 mt-[214px] p-4 gap-2.5 grid rounded-lg"
17-
>
15+
<div class="bg-[#3C3843E5] min-w-56 mt-[214px] p-4 gap-2.5 grid rounded-lg">
1816
<slot />
1917
</div>
2018
</div>
2119
<button
22-
class="whitespace-nowrap font-medium text-2xl md:text-lg text-[#E8E8E8] hover:text-white"
23-
>{title}</button
20+
class="whitespace-nowrap font-medium text-2xl md:text-lg text-[#E8E8E8] hover:text-white"
2421
>
25-
<ChevronTop classNames="group-hover:rotate-180" />
22+
{title}
23+
</button>
24+
<ChevronTop classNames="group-hover:rotate-360 rotate-180" />
2625
</div>

0 commit comments

Comments
 (0)