Skip to content

Commit

Permalink
improve display
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-intuitem committed Apr 9, 2024
1 parent aee47d8 commit 0d971d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/lib/components/TreeView/TreeViewItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -390,16 +390,16 @@
{/if}
{/if}

<!-- Slot: Content -->
<div class="tree-item-content w-full">
<slot />
</div>
<!-- Slot: Lead -->
{#if $$slots.lead && !hideLead}
<div class="tree-item-lead">
<slot name="lead" />
</div>
{/if}
<!-- Slot: Content -->
<div class="tree-item-content w-full">
<slot />
</div>
</summary>
<div bind:this={childrenDiv} class="tree-item-children {classesChildren}" role="group">
<slot name="children" />
Expand Down

0 comments on commit 0d971d1

Please sign in to comment.