Skip to content

Commit

Permalink
[CSS] Set Bucket width and scroll vertically to show other Buckets
Browse files Browse the repository at this point in the history
[CSS] Set Bucket width and scroll vertically to show other Buckets
  • Loading branch information
ismaail committed Oct 23, 2024
1 parent ac941c4 commit 05f4e9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/livewire/board/board-component.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class="flex w-full flex-grow items-start overflow-y-hidden mt-4 space-x-3">
@foreach($buckets as $bucket)
<livewire:bucket.bucket-component :key="$bucket->id" :bucket="$bucket" />
@endforeach
<button class="flex items-center gap-x-1 w-72 p-2 rounded text-white hover:text-primary font-semibold cursor-pointer">
<button class="flex basis-36 shrink-0 items-center gap-x-1 w-72 p-2 rounded text-white hover:text-primary font-semibold cursor-pointer">
<x-icons.plus class="size-5" /> New Bucket
</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/livewire/bucket/bucket-component.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div
wire:sortable.item="{{ $bucket->id }}"
class="w-72 p-2 space-y-2 rounded bg-gray-100 max-h-full overflow-y-auto scrollbar">
class="basis-72 shrink-0 p-2 space-y-2 rounded bg-gray-100 max-h-full overflow-y-auto scrollbar">
{{-- Bucket Name & Tasks Count --}}
<div class="flex items-start justify-between">
{{-- Bucket Title + Cards/ count --}}
Expand Down

0 comments on commit 05f4e9a

Please sign in to comment.