Merge pull request #767 from bluewave-labs/fix/fallback-skeletons-grids

Fallback Skeletons & grid
This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-08-30 11:49:13 -07:00
commit 7c247c0367
7 files changed
+63 -21

No files matched your search

@@ -252,16 +252,11 @@ const Configure = () => {
isLoading={isLoading}
level="tertiary"
label={monitor?.isActive ? "Pause" : "Resume"}
animate="rotate180"
img={<PauseCircleOutlineIcon />}
sx={{
backgroundColor: theme.palette.background.main,
pl: theme.spacing(4),
pr: theme.spacing(6),
px: theme.spacing(6),
mr: theme.spacing(6),
"& svg": {
mr: theme.spacing(2),
},
}}
onClick={handlePause}
/>
@@ -270,7 +265,6 @@ const Configure = () => {
level="error"
label="Remove"
sx={{
boxShadow: "none",
px: theme.spacing(8),
}}
onClick={() => setIsOpen(true)}
+14 -12
View File
@@ -2,7 +2,7 @@ import PropTypes from "prop-types";
import { useTheme } from "@emotion/react";
import { Box, Stack, Typography } from "@mui/material";
import Arrow from "../../../assets/icons/top-right-arrow.svg?react";
import background from "../../../assets/Images/background-grid.svg";
import Background from "../../../assets/Images/background-grid.svg?react";
import ClockSnooze from "../../../assets/icons/clock-snooze.svg?react";
const StatusBox = ({ title, value }) => {
@@ -55,19 +55,21 @@ const StatusBox = ({ title, value }) => {
"&:hover": {
backgroundColor: theme.palette.background.accent,
},
"&:after": {
position: "absolute",
content: `""`,
backgroundImage: `url(${background})`,
width: "400px",
height: "200px",
top: "-10%",
left: "5%",
zIndex: 10000,
pointerEvents: "none",
},
}}
>
<Box
sx={{
position: "absolute",
top: "-10%",
left: "5%",
pointerEvents: "none",
"& svg g g:last-of-type path": {
stroke: theme.palette.other.grid,
},
}}
>
<Background />
</Box>
<Box
textTransform="uppercase"
fontSize={15}