From 6ac2a0c888dbea97e3a832c944c8c4e0cabb29bf Mon Sep 17 00:00:00 2001 From: chamikaJ Date: Tue, 8 Jul 2025 16:13:56 +0530 Subject: [PATCH] refactor(task-list): improve layout and styling for better usability - Removed unnecessary padding from task filters for a cleaner look. - Adjusted height calculations to optimize space usage in the task list. - Added padding to the content area to ensure the horizontal scrollbar is visible. - Updated subtask count checks for clarity and consistency. - Modified gap and margin values in project view header for improved alignment. --- .../src/components/task-list-v2/TaskListV2.tsx | 18 ++++++++++-------- .../src/components/task-list-v2/TaskRow.tsx | 6 +++--- .../projectView/project-view-header.tsx | 10 +++++----- .../projects/projectView/project-view.tsx | 4 ++-- 4 files changed, 20 insertions(+), 18 deletions(-) diff --git a/worklenz-frontend/src/components/task-list-v2/TaskListV2.tsx b/worklenz-frontend/src/components/task-list-v2/TaskListV2.tsx index 28d415ae..cf085758 100644 --- a/worklenz-frontend/src/components/task-list-v2/TaskListV2.tsx +++ b/worklenz-frontend/src/components/task-list-v2/TaskListV2.tsx @@ -525,7 +525,7 @@ const TaskListV2: React.FC = () => { if (groups.length === 0 && !loading) { return (
-
+
@@ -552,18 +552,15 @@ const TaskListV2: React.FC = () => { >
{/* Task Filters */} -
+
- {/* Spacing between filters and table */} -
- {/* Table Container */}
{
{/* Sticky Column Headers */}
diff --git a/worklenz-frontend/src/components/task-list-v2/TaskRow.tsx b/worklenz-frontend/src/components/task-list-v2/TaskRow.tsx index e85ab195..523b402e 100644 --- a/worklenz-frontend/src/components/task-list-v2/TaskRow.tsx +++ b/worklenz-frontend/src/components/task-list-v2/TaskRow.tsx @@ -301,7 +301,7 @@ const TaskRow: React.FC = memo(({ taskId, projectId, visibleColumn