Show gap between selected files in tree view

This commit is contained in:
Mattias Granlund 2024-01-06 13:26:42 +01:00
parent f1a8617c92
commit 4381bdc196
2 changed files with 17 additions and 15 deletions

View File

@ -121,23 +121,21 @@
<div class="line-wrapper">
<div class="line" />
</div>
<ul class="w-full overflow-hidden">
<div class="flex w-full flex-col overflow-hidden">
{#each node.children as childNode}
<li>
<svelte:self
node={childNode}
expanded={true}
{selectedOwnership}
{showCheckboxes}
{selectedFiles}
{branchId}
{readonly}
on:checked
on:unchecked
/>
</li>
<svelte:self
node={childNode}
expanded={true}
{selectedOwnership}
{showCheckboxes}
{selectedFiles}
{branchId}
{readonly}
on:checked
on:unchecked
/>
{/each}
</ul>
</div>
</div>
{/if}
{/if}

View File

@ -80,6 +80,10 @@
<style lang="postcss">
.draggable-wrapper {
display: inline-block;
margin-bottom: var(--space-2);
&:last-child {
margin-bottom: 0;
}
}
.tree-list-file {
display: inline-flex;