diff --git a/src/ExpanderCard.svelte b/src/ExpanderCard.svelte index 0d7a01b..918223e 100644 --- a/src/ExpanderCard.svelte +++ b/src/ExpanderCard.svelte @@ -86,7 +86,7 @@ {#if config['title-card']}
@@ -134,15 +134,16 @@ {/if} - {#if config.cards && expanded} -
- {#each config.cards as card (card)} - - {/each} + {#if config.cards} +
+
+ {#each config.cards as card (card)} + + {/each} +
{/if} @@ -150,15 +151,27 @@