diff --git a/plane-src/apps/web/core/components/issues/issue-layouts/kanban/internal-contour-card.tsx b/plane-src/apps/web/core/components/issues/issue-layouts/kanban/internal-contour-card.tsx index e14d9ff..62dc571 100644 --- a/plane-src/apps/web/core/components/issues/issue-layouts/kanban/internal-contour-card.tsx +++ b/plane-src/apps/web/core/components/issues/issue-layouts/kanban/internal-contour-card.tsx @@ -87,6 +87,10 @@ export const InternalContourKanbanCard = observer(function InternalContourKanban const checkerItemsCompleted = issue.checker_items_completed_count ?? 0; const hasCheckerProgress = checkerBlocksTotal > 0; const assigneeIds = issue.assignee_ids ?? []; + const visibleAssigneeIds = assigneeIds.slice(0, 3); + const assigneeCount = assigneeIds.length; + const assigneeStackWidthClass = + assigneeCount > 3 ? "w-[68px]" : assigneeCount === 3 ? "w-[62px]" : assigneeCount === 2 ? "w-[44px]" : "w-7"; const cornerControlClasses = cn( "flex h-12 w-12 -translate-x-0.5 -translate-y-0.5 items-center justify-center rounded-full border bg-transparent shadow-none ring-0 transition-colors outline-none", isActive @@ -252,17 +256,55 @@ export const InternalContourKanbanCard = observer(function InternalContourKanban disabled={isReadOnly || !updateIssue} multiple buttonVariant="transparent-without-text" - className="h-7 w-7" - buttonContainerClassName="h-7 w-7" + className={cn("h-7 min-w-7", assigneeStackWidthClass)} + buttonContainerClassName={cn("h-7 min-w-7", assigneeStackWidthClass)} button={