From ec8f81e205997c1acd2ca40a3d1cd80a47d96507 Mon Sep 17 00:00:00 2001 From: Arthur Belleville Date: Thu, 2 Apr 2026 21:21:25 +0200 Subject: [PATCH] fix: improve mobile responsiveness for task/kanban pages - KanbanBoard: responsive grid (1 col mobile, 2 col tablet, 4 col desktop) - TaskModal: bottom-sheet style on mobile with scroll, touch-friendly close - Touch targets: enforce 44px minimum on all interactive elements (buttons, checkboxes, kebab menus, add buttons, view tabs) - TabloTasksSection: responsive padding and stacking header layout - DashboardTaskList: simplified mobile grid hiding non-essential columns - InlineTaskCreate: larger touch targets on action buttons Co-Authored-By: Claude Sonnet 4.6 (1M context) --- apps/main/src/components/DashboardTaskList.tsx | 4 ++-- apps/main/src/components/TabloTasksSection.tsx | 8 ++++---- apps/main/src/components/kanban/InlineTaskCreate.tsx | 8 ++++---- apps/main/src/components/kanban/KanbanBoard.tsx | 2 +- apps/main/src/components/kanban/KanbanColumn.tsx | 2 +- apps/main/src/components/kanban/TaskModal.tsx | 2 +- apps/main/src/pages/tasks.tsx | 10 +++++----- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/apps/main/src/components/DashboardTaskList.tsx b/apps/main/src/components/DashboardTaskList.tsx index 8e50304..bb9a93a 100644 --- a/apps/main/src/components/DashboardTaskList.tsx +++ b/apps/main/src/components/DashboardTaskList.tsx @@ -66,7 +66,7 @@ function TaskRow({ {/* Checkbox */} - diff --git a/apps/main/src/components/kanban/KanbanBoard.tsx b/apps/main/src/components/kanban/KanbanBoard.tsx index a894c35..35293c7 100644 --- a/apps/main/src/components/kanban/KanbanBoard.tsx +++ b/apps/main/src/components/kanban/KanbanBoard.tsx @@ -55,7 +55,7 @@ export const KanbanBoard = ({ }; return ( -
+
{columns.map((column) => ( onAddTask(column.status)} - className="h-6 w-6 p-0" + className="h-8 w-8 min-h-[44px] min-w-[44px] p-0" > diff --git a/apps/main/src/components/kanban/TaskModal.tsx b/apps/main/src/components/kanban/TaskModal.tsx index 7a5a065..088d94d 100644 --- a/apps/main/src/components/kanban/TaskModal.tsx +++ b/apps/main/src/components/kanban/TaskModal.tsx @@ -151,7 +151,7 @@ export const TaskModal = ({ diff --git a/apps/main/src/pages/tasks.tsx b/apps/main/src/pages/tasks.tsx index 08cb0a0..f4fa3f9 100644 --- a/apps/main/src/pages/tasks.tsx +++ b/apps/main/src/pages/tasks.tsx @@ -314,7 +314,7 @@ export function TasksPage() { !tab.disabled && setViewMode(tab.id as "kanban" | "aggregated" | "roadmap") } className={twMerge( - "flex items-center gap-2 pb-3 px-1 text-sm font-semibold transition-colors border-b-2", + "flex items-center gap-2 pb-3 pt-1 px-2 text-sm font-semibold transition-colors border-b-2 min-h-[44px]", isActive ? "text-purple-600 border-purple-600 dark:text-purple-400 dark:border-purple-400" : "text-[#667085] border-transparent hover:text-gray-900 dark:hover:text-gray-100", @@ -475,7 +475,7 @@ export function TasksPage() { @@ -523,7 +523,7 @@ export function TasksPage() { @@ -690,7 +690,7 @@ export function TasksPage() { @@ -845,7 +845,7 @@ export function TasksPage() {