Branch sidebar is stuck to side of the window

This commit is contained in:
idonahue 2023-06-09 17:13:59 +02:00 committed by Ian Donahue
parent 8198de686a
commit 49a9974c62
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
$: console.log(columnsData);
</script>
<div class="flex h-full gap-x-4 p-4">
<div class="flex h-full">
<Tray bind:columns={columnsData} />
<Board bind:columns={columnsData} />
</div>

View File

@ -10,7 +10,7 @@
</script>
<section
class="flex gap-x-4"
class="flex gap-x-4 p-4"
use:dndzone={{ items: columns, flipDurationMs, type: 'column' }}
on:consider={(e) => (columns = e.detail.items)}
on:finalize={(e) => (columns = e.detail.items)}

View File

@ -7,7 +7,7 @@
</script>
<section
class="flex h-full w-64 flex-col gap-y-4 rounded border border-zinc-700 bg-zinc-900/50 p-4"
class="flex h-full w-64 flex-col gap-y-4 border-r border-zinc-700 bg-[#2F2F33] p-4"
>
{#each columns as column (column.id)}
<div animate:flip={{ duration: 150 }} class="rounded border border-zinc-600 bg-zinc-700 p-2">