Added barebones theme toggle

This commit is contained in:
Daniel Cojocea committed 2024-08-28 22:14:55 -04:00
1 parent 9a62a42a09
commit aca350495a
21 files changed
+286 -105

No files matched your search

@@ -30,7 +30,7 @@ const IncidentTable = ({ monitors, selectedMonitor, filter }) => {
const [checksCount, setChecksCount] = useState(0);
const [paginationController, setPaginationController] = useState({
page: 0,
rowsPerPage: 12,
rowsPerPage: 14,
});
useEffect(() => {
@@ -169,6 +169,10 @@ const IncidentTable = ({ monitors, selectedMonitor, filter }) => {
sx={{
border: `solid 1px ${theme.palette.border.light}`,
borderRadius: theme.shape.borderRadius,
backgroundColor: theme.palette.background.main,
"& .MuiTableCell-root": {
borderBottomColor: theme.palette.border.light,
},
}}
>
<Table>
+5 -1
View File
@@ -78,7 +78,11 @@ const Incidents = () => {
};
return (
<Stack className="incidents" pt={theme.spacing(20)} gap={theme.spacing(12)}>
<Stack
className="incidents"
pt={theme.spacing(21)}
gap={theme.spacing(12)}
>
{loading ? (
<SkeletonLayout />
) : (