From 249f3a750f417e7ad522f5b0d5814a87f11ec860 Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Sun, 14 Sep 2025 21:42:39 +0200 Subject: [PATCH] feat: enhance KanbanColumn and TaskCard styles for better responsiveness - Updated KanbanColumn to adjust width for medium screens, improving layout flexibility. - Modified TaskCard title font size for better readability and increased line clamp for title overflow. - Adjusted margin for task tags based on task status, enhancing visual clarity. --- components/kanban/Column.tsx | 2 +- components/kanban/TaskCard.tsx | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/components/kanban/Column.tsx b/components/kanban/Column.tsx index 68c4b1d..2a7c21c 100644 --- a/components/kanban/Column.tsx +++ b/components/kanban/Column.tsx @@ -67,7 +67,7 @@ export function KanbanColumn({ id, title, color, tasks, onCreateTask, onDeleteTa const badgeVariant = color === 'green' ? 'success' : color === 'blue' ? 'primary' : color === 'red' ? 'danger' : 'default'; return ( -
+
) : (

@@ -254,7 +254,11 @@ export function TaskCard({ task, onDelete, onEdit, onUpdateTitle, compactView = {/* Tags avec couleurs */} {task.tags && task.tags.length > 0 && ( -
+