Fixed css (CourseForm), assessment-CourseConsolidated

This commit is contained in:
Harshitha Shetty
2025-01-28 00:06:23 +05:30
parent 4466b33dff
commit cd8287f67b
2 changed files with 11 additions and 5 deletions

View File

@@ -72,7 +72,7 @@
}
/* Adjusting list styles for better grid integration */
.courseFormSuggestions, .courseFormTempList {
.courseFormSuggestions {
list-style: none ;
padding: 0 ;
width: 100% ;

View File

@@ -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 = () => {
)}
</td>
<td>
{row.assesmentTeachers &&
row.assesmentTeachers.length > 0 ? (
{row.assessmentTeachers &&
row.assessmentTeachers.length > 0 ? (
<ul style={{ margin: 0, paddingLeft: "20px" }}>
{row.assesmentTeachers.map((teacher, idx) => (
{row.assessmentTeachers.map((teacher, idx) => (
<li key={idx}>{teacher}</li>
))}
</ul>