update3
This commit is contained in:
@@ -8,6 +8,6 @@ import { Icon } from "astro-icon/components";
|
||||
<slot />
|
||||
<Icon
|
||||
name="chevron-down"
|
||||
class="size-4 fill-white/60 group-data-[hover]:fill-white/50 shrink-0 transition duration-300 group-open:-rotate-180"
|
||||
class="size-4 fill-white/60 shrink-0 transition duration-300 group-open:-rotate-180"
|
||||
/>
|
||||
</summary>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<details
|
||||
class="bg-white/10 w-full hover:bg-white/15 aria-expanded:bg-white/15 rounded-lg transition group"
|
||||
class="bg-white/10 w-full hover:bg-white/15 open:bg-white/15 rounded-lg transition group"
|
||||
>
|
||||
<slot />
|
||||
</details>
|
||||
|
||||
Reference in New Issue
Block a user