Skip to content

Commit

Permalink
Merge pull request #3565 from ever-co/bug/kanban-card-misalignment
Browse files Browse the repository at this point in the history
[Fix]: Correct Alignment of "Kanban Board Not Found" Card
  • Loading branch information
evereq authored Feb 2, 2025
2 parents 8a8ed83 + 872e33b commit 4eb71f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/web/lib/components/Kanban.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function InnerItemList({ items, title }: { title: string; items: ITeamTask[]; dr
))}
{Array.isArray(items) && items?.length == 0 && (
<div className="bg-[#f2f2f2] dark:bg-[#191a20] absolute w-full">
<div className="h-[180px] bg-transparent bg-white dark:bg-[#1e2025] w-[340px] mt-3 flex justify-center items-center my-2 rounded-xl">
<div className="h-[180px] bg-transparent bg-white dark:bg-[#1e2025] mt-3 flex justify-center items-center my-2 rounded-xl">
{t('common.NOT_FOUND')}!
</div>
<div
Expand Down
2 changes: 1 addition & 1 deletion apps/web/lib/features/team-members-kanban-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export const KanbanView = ({ kanbanBoardTasks, isLoading }: { kanbanBoardTasks:
{(provided: DroppableProvided, snapshot: DroppableStateSnapshot) => (
<div
className={cn(
'flex flex-1 flex-row gap-2 min-h-fit px-8 lg:px-0 w-full h-full',
'flex flex-1 flex-row gap-4 min-h-fit px-8 lg:px-0 w-full h-full',
snapshot.isDraggingOver ? 'bg-slate-200 dark:bg-slate-800' : '',
)}
ref={provided.innerRef}
Expand Down

0 comments on commit 4eb71f6

Please sign in to comment.