Refactored pages styling 1/?

This commit is contained in:
Daniel Cojocea committed 2024-08-27 20:11:59 -04:00
1 parent edeaf2ede9
commit e5c19c2744
18 files changed
+404 -207

No files matched your search

+19 -2
View File
@@ -1,9 +1,26 @@
import { Box } from "@mui/material";
import { useTheme } from "@emotion/react";
import Fallback from "../../Components/Fallback";
import "./index.css";
const Maintenance = () => {
const theme = useTheme();
return (
<div className="maintenance">
<Box
className="maintenance"
sx={{
':has(> [class*="fallback__"])': {
position: "relative",
border: 1,
borderColor: theme.palette.border.light,
borderRadius: theme.shape.borderRadius,
borderStyle: "dashed",
backgroundColor: theme.palette.background.main,
overflow: "hidden",
},
}}
>
<Fallback
title="maintenance window"
checks={[
@@ -13,7 +30,7 @@ const Maintenance = () => {
]}
link="/maintenance/create"
/>
</div>
</Box>
);
};