From cd8287f67bc3ae7114bf2d6d0de2a093bffbad53 Mon Sep 17 00:00:00 2001 From: Harshitha Shetty <141444342+HarshithaShetty27@users.noreply.github.com> Date: Tue, 28 Jan 2025 00:06:23 +0530 Subject: [PATCH] Fixed css (CourseForm), assessment-CourseConsolidated --- client/src/Pages/CourseForm.css | 2 +- client/src/Pages/courseConsolidated.jsx | 14 ++++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/client/src/Pages/CourseForm.css b/client/src/Pages/CourseForm.css index aa37fbb..d39451d 100644 --- a/client/src/Pages/CourseForm.css +++ b/client/src/Pages/CourseForm.css @@ -72,7 +72,7 @@ } /* Adjusting list styles for better grid integration */ -.courseFormSuggestions, .courseFormTempList { +.courseFormSuggestions { list-style: none ; padding: 0 ; width: 100% ; diff --git a/client/src/Pages/courseConsolidated.jsx b/client/src/Pages/courseConsolidated.jsx index c03c544..f363429 100644 --- a/client/src/Pages/courseConsolidated.jsx +++ b/client/src/Pages/courseConsolidated.jsx @@ -106,6 +106,12 @@ const CourseConsolidated = () => { "Oral/Practical Teacher", "Contact Number", ]) || []), + ...(courseData.assessmentTeachers?.map((teacher) => [ + teacher, + "K. J. Somaiya School of Engineering", + "Reassessment Teacher", + "Contact Number", + ]) || []), ...(courseData.reassessmentTeachers?.map((teacher) => [ teacher, "K. J. Somaiya School of Engineering", @@ -157,7 +163,7 @@ const CourseConsolidated = () => { autoTable(doc, { body: detailsTableData, startY: doc.previousAutoTable.finalY + 10, - theme: "plain", // Plain table style + theme: "grid", // Plain table style styles: { textColor: [0, 0, 0] }, }); @@ -288,10 +294,10 @@ const CourseConsolidated = () => { )}