We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0c5d97 commit 217d1f1Copy full SHA for 217d1f1
src/lib/svelte-json-tree/SvelteJsonTree/JSONNested.svelte
@@ -63,7 +63,7 @@
63
<Expandable key={expandKey(key)} expanded={child_expanded[index]}>
64
<!-- svelte-ignore a11y-no-static-element-interactions -->
65
<span class="label" on:click={() => child_expanded[index].update((value) => !value)}>
66
- <JSONArrow /><slot name="item_key" {key} {index} />{#if !shouldShowColon || shouldShowColon(key)}<span class="operator">:</span>{/if}
+ <JSONArrow /><slot name="item_key" {key} {index} />{#if !shouldShowColon || shouldShowColon(key)}<span class="operator">{': '}</span>{/if}
67
</span><slot name="item_value" {key} {index} />
68
</Expandable>
69
</li>
0 commit comments