design: replace crosspost disclosure with expandable
This commit is contained in:
1 parent
0c47988b19
commit
2c164ca548
2 files changed
+10
-10
No files matched your search
@@ -6,12 +6,12 @@
|
||||
|
||||
<Disclosure
|
||||
bind:open
|
||||
class="items-start justify-items-start gap-2 hover:text-primary-900
|
||||
hover:dark:text-primary-100 transition-colors {$$props.class}"
|
||||
class="items-start justify-items-start gap-2 {$$props.class}"
|
||||
>
|
||||
<div
|
||||
slot="summary"
|
||||
class="font-medium w-full text-left flex flex-row items-center justify-between"
|
||||
class="font-medium w-full text-left flex flex-row items-center justify-between hover:text-primary-900
|
||||
hover:dark:text-primary-100 transition-colors"
|
||||
>
|
||||
<div class="flex flex-row gap-1 items-center w-full">
|
||||
<slot name="title" />
|
||||
@@ -23,7 +23,7 @@
|
||||
class="{open ? 'rotate-180' : ''} transition-transform"
|
||||
/>
|
||||
</div>
|
||||
<div class="pt-2">
|
||||
<div class="pt-2 text-slate-900 dark:text-zinc-100">
|
||||
<slot />
|
||||
</div>
|
||||
</Disclosure>
|
||||
Reference in new issue
Block a user