mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-28 20:15:20 +03:00
Branch sidebar is stuck to side of the window
This commit is contained in:
parent
8198de686a
commit
49a9974c62
@ -9,7 +9,7 @@
|
|||||||
$: console.log(columnsData);
|
$: console.log(columnsData);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="flex h-full gap-x-4 p-4">
|
<div class="flex h-full">
|
||||||
<Tray bind:columns={columnsData} />
|
<Tray bind:columns={columnsData} />
|
||||||
<Board bind:columns={columnsData} />
|
<Board bind:columns={columnsData} />
|
||||||
</div>
|
</div>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section
|
<section
|
||||||
class="flex gap-x-4"
|
class="flex gap-x-4 p-4"
|
||||||
use:dndzone={{ items: columns, flipDurationMs, type: 'column' }}
|
use:dndzone={{ items: columns, flipDurationMs, type: 'column' }}
|
||||||
on:consider={(e) => (columns = e.detail.items)}
|
on:consider={(e) => (columns = e.detail.items)}
|
||||||
on:finalize={(e) => (columns = e.detail.items)}
|
on:finalize={(e) => (columns = e.detail.items)}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section
|
<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)}
|
{#each columns as column (column.id)}
|
||||||
<div animate:flip={{ duration: 150 }} class="rounded border border-zinc-600 bg-zinc-700 p-2">
|
<div animate:flip={{ duration: 150 }} class="rounded border border-zinc-600 bg-zinc-700 p-2">
|
||||||
|
Loading…
Reference in New Issue
Block a user