From 58db67c318639529c19c08742d6cd6acfb85c081 Mon Sep 17 00:00:00 2001 From: plind-dm <59729252+plind-dm@users.noreply.github.com> Date: Fri, 3 Apr 2026 23:18:38 +0900 Subject: [PATCH 1/2] fix(ui): collapse empty kanban columns to save horizontal space Empty status columns took the same 260px width as populated ones, wasting horizontal space and forcing unnecessary scrolling. Collapse empty columns to 48px (showing only the status icon) and expand them back when an issue is dragged over for drop targeting. Closes #2279 --- ui/src/components/KanbanBoard.tsx | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/ui/src/components/KanbanBoard.tsx b/ui/src/components/KanbanBoard.tsx index 96750558..92510384 100644 --- a/ui/src/components/KanbanBoard.tsx +++ b/ui/src/components/KanbanBoard.tsx @@ -63,16 +63,22 @@ function KanbanColumn({ }) { const { setNodeRef, isOver } = useDroppable({ id: status }); + const isEmpty = issues.length === 0; + return ( -