From e4c9e229729e16ddc619d9a2afcdb26d81f83866 Mon Sep 17 00:00:00 2001 From: chamiakJ Date: Sat, 12 Jul 2025 07:27:32 +0530 Subject: [PATCH] refactor(tasks-list): update column widths for improved layout and responsiveness - Adjusted column widths in the TasksList component to use percentage-based values for better adaptability across different screen sizes. - Enhanced text styling for task names and project names to improve readability and visual consistency. --- .../src/pages/home/task-list/tasks-list.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/worklenz-frontend/src/pages/home/task-list/tasks-list.tsx b/worklenz-frontend/src/pages/home/task-list/tasks-list.tsx index 008edbed..01e7706c 100644 --- a/worklenz-frontend/src/pages/home/task-list/tasks-list.tsx +++ b/worklenz-frontend/src/pages/home/task-list/tasks-list.tsx @@ -123,11 +123,11 @@ const TasksList: React.FC = React.memo(() => { {t('tasks.name')} ), - width: '150px', + width: '40%', render: (_, record) => (
- + {record.name} @@ -155,13 +155,12 @@ const TasksList: React.FC = React.memo(() => { { key: 'project', title: t('tasks.project'), - width: '120px', + width: '25%', render: (_, record) => { return ( {record.project_name} @@ -173,7 +172,7 @@ const TasksList: React.FC = React.memo(() => { { key: 'status', title: t('tasks.status'), - width: '180px', + width: '20%', render: (_, record) => ( ), @@ -181,7 +180,7 @@ const TasksList: React.FC = React.memo(() => { { key: 'dueDate', title: t('tasks.dueDate'), - width: '180px', + width: '15%', dataIndex: 'end_date', render: (_, record) => , },