SPRINT-12: added skeletons throughout widgets, fixed page header under breadcrumb, misc other improvements

This commit is contained in:
Tim Chamberlain
2022-10-04 12:38:53 -05:00
parent e67301dc4b
commit 30f2da17a4
16 changed files with 353 additions and 223 deletions

View File

@ -65,11 +65,7 @@ function StepperCard({data}: Props): JSX.Element
marginTop: "9px",
marginRight: "30px",
marginLeft: "30px",
},
"& .MuiStepConnector-completed":
{
color: "red !important"
}
}
})(StepConnector);
console.log(`data ${JSON.stringify(data)}`);
@ -132,7 +128,21 @@ function StepperCard({data}: Props): JSX.Element
</Step>
))
) : (
<Skeleton width="100%" height="80px" />
Array(5).fill(0).map((_, i) =>
<Step key={`step-${i}`}>
<MDBox>
<StepLabel icon={<Pending />} sx={{
color: "#ced4da",
fontSize: "35px",
"& .MuiStepLabel-label.MuiStepLabel-alternativeLabel":
{
color: "#ced4da !important",
}
}}><Skeleton /></StepLabel>
</MDBox>
</Step>
)
)
}
</Stepper>