From cc32410a05ab57bacbc122c6155ce9c260236de5 Mon Sep 17 00:00:00 2001 From: James Birnie Date: Wed, 2 Apr 2025 12:41:01 -0700 Subject: [PATCH 1/2] fixed teamTask assigned task and centered searchbar --- frontend/react-app/src/components/AddToTeam.jsx | 4 ++-- frontend/react-app/src/css/TaskList.css | 1 + frontend/react-app/src/index.css | 6 ++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/frontend/react-app/src/components/AddToTeam.jsx b/frontend/react-app/src/components/AddToTeam.jsx index 8f04662..0eb7f9d 100644 --- a/frontend/react-app/src/components/AddToTeam.jsx +++ b/frontend/react-app/src/components/AddToTeam.jsx @@ -52,7 +52,7 @@ export default function AddToTeam({teamId, allTeamMembers, currentMembers, setTe }; return( -
+ )} /> - + ) diff --git a/frontend/react-app/src/css/TaskList.css b/frontend/react-app/src/css/TaskList.css index 9430f6d..bc6db32 100644 --- a/frontend/react-app/src/css/TaskList.css +++ b/frontend/react-app/src/css/TaskList.css @@ -52,6 +52,7 @@ thead th{ padding: 3px; display: flex; margin-top: 5px; + align-items: center; } .search-form { display: flex; diff --git a/frontend/react-app/src/index.css b/frontend/react-app/src/index.css index 32e513e..7c31ca7 100644 --- a/frontend/react-app/src/index.css +++ b/frontend/react-app/src/index.css @@ -84,12 +84,13 @@ li.logo a{ margin-bottom: 20px; border: none; border-radius: 10px; + color: white; background-color: #3f5d8b; cursor: pointer; } .smallImportButton{ - padding-left: 5px; - padding-right: 5px; + padding-left: 10px; + padding-right: 10px; padding-top: 3px; padding-bottom: 3px; font-size: 1em; @@ -99,5 +100,6 @@ li.logo a{ border: none; border-radius: 10px; background-color: #3f5d8b; + color: white; cursor: pointer; } From 3290c7ae1c6edd8c6a0c1f8aa7e9cf970b8c1723 Mon Sep 17 00:00:00 2001 From: James Birnie Date: Wed, 2 Apr 2025 13:16:38 -0700 Subject: [PATCH 2/2] teamTaskCSS --- frontend/react-app/src/pages/TeamTasks.jsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/react-app/src/pages/TeamTasks.jsx b/frontend/react-app/src/pages/TeamTasks.jsx index fd990d7..9f70a21 100644 --- a/frontend/react-app/src/pages/TeamTasks.jsx +++ b/frontend/react-app/src/pages/TeamTasks.jsx @@ -194,26 +194,26 @@ console.log(teamLead)
-

{team.teamName}

+

{team.teamName}

{tasksToDoData.length > 0 ? ( ) : ( -

No tasks to do

+

No tasks to do

)} - -

Completed Tasks

+ +

Completed Tasks

{tasksCompletedData.length > 0 ? ( ) : ( -

No tasks completed

+

No tasks completed

)}