improve accordtion
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<div
|
||||
x-data="{ open: false }"
|
||||
class="bg-white/10 rounded-lg w-full"
|
||||
class="bg-white/10 w-full [&:not([aria-expanded='true']):hover]:outline rounded-lg outline-white/15"
|
||||
:class="{'bg-white/15': open === true}"
|
||||
x-bind:aria-expanded="open"
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user