diff --git a/frontend/src/components/kanbanBoard/columnContainer.jsx b/frontend/src/components/kanbanBoard/columnContainer.jsx index 5ff2333..bc259e2 100644 --- a/frontend/src/components/kanbanBoard/columnContainer.jsx +++ b/frontend/src/components/kanbanBoard/columnContainer.jsx @@ -47,17 +47,14 @@ function ColumnContainer({ ref={setNodeRef} style={style} className=" - bg-columnBackgroundColor - opacity-40 - border-2 - border-pink-500 - w-[350px] - h-[500px] - max-h-[500px] - rounded-md - flex - flex-col - " + bg-columnBackgroundColor + w-[350px] + h-[500px] + max-h-[500px] + rounded-md + flex + flex-col + " > ); } @@ -155,7 +152,7 @@ function ColumnContainer({ ))} diff --git a/frontend/src/components/kanbanBoard/kanbanBoard.jsx b/frontend/src/components/kanbanBoard/kanbanBoard.jsx index 1ec76b5..2c5a6a4 100644 --- a/frontend/src/components/kanbanBoard/kanbanBoard.jsx +++ b/frontend/src/components/kanbanBoard/kanbanBoard.jsx @@ -120,6 +120,7 @@ function KanbanBoard() { m-auto flex w-full + min-h-screen items-center overflow-x-auto overflow-y-hidden @@ -222,7 +223,8 @@ function KanbanBoard() { if (task.id !== id) return task; return { ...task, content }; }); - + if (content === "") return deleteTask(id + ); setTasks(newTasks); }