This commit is contained in:
2024-10-23 18:00:34 +05:30
parent 9b35f2516b
commit 5f3be49ed0
7 changed files with 77 additions and 71 deletions

View File

@@ -76,9 +76,9 @@ const NormalTable = ({
};
return (
<TableContainer rounded={5} overflowX={"auto"} className="h-auto w-100 table-scroll" bg={colorMode === "light" ? "#F2EFFF" : "#312F35"}>
<TableContainer boxShadow={'md'} rounded={5} overflowX={"auto"} className="h-auto w-100 table-scroll" bg={colorMode === "light" ? "#F2EFFF" : "#312F35"}>
<Table size="sm" variant="striped" colorScheme={colorMode === "light" ? "whiteScheme" : "darkPurple"}>
<Thead bg="forestGreen.100">
<Thead >
<Tr bg={colorMode === "light"? "#230A79" : "#312F35"}>
{showRadioButton &&(
<Th
@@ -103,11 +103,12 @@ const NormalTable = ({
fontWeight={500}
textAlign={
tableHeadRow.length - 1 === index || centered
? "center"
? "left"
: "left"
}
key={index}
p={4}
whiteSpace="normal"
wordBreak="normal"
overflowWrap="normal"
@@ -171,7 +172,7 @@ const NormalTable = ({
color={colorMode === "light"? "#000000" : "#FFFFFF"}
textAlign={
tableHeadRow?.length - 1 === i || centered
? "center"
? "left"
: "left"
}
key={i}