fix: expandable styling broken on chromium
This commit is contained in:
1 parent
95c43ed09d
commit
4b150679f9
2 files changed
+2
-6
No files matched your search
@@ -22,11 +22,7 @@
|
|||||||
}: Props = $props()
|
}: Props = $props()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Disclosure
|
<Disclosure {extended} bind:open class=" gap-2 {clazz}">
|
||||||
{extended}
|
|
||||||
bind:open
|
|
||||||
class="items-start justify-items-start gap-2 {clazz}"
|
|
||||||
>
|
|
||||||
{#snippet summary()}
|
{#snippet summary()}
|
||||||
<div
|
<div
|
||||||
class="font-medium w-full text-left flex flex-row items-center justify-between hover:text-primary-900
|
class="font-medium w-full text-left flex flex-row items-center justify-between hover:text-primary-900
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
}: Props = $props()
|
}: Props = $props()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div {...rest} class={clazz}>
|
<div {...rest} class={['w-full', clazz]}>
|
||||||
<button onclick={() => (open = !open)} class="w-full">
|
<button onclick={() => (open = !open)} class="w-full">
|
||||||
{@render summary?.({ open })}
|
{@render summary?.({ open })}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in new issue
Block a user