diff --git a/client/src/Components/Fallback/index.css b/client/src/Components/Fallback/index.css index 25680eaf0..357988b07 100644 --- a/client/src/Components/Fallback/index.css +++ b/client/src/Components/Fallback/index.css @@ -39,6 +39,6 @@ background-repeat: no-repeat; } -.fallback__status>.MuiStack-root { +.fallback__status > .MuiStack-root { margin-left: var(--env-var-spacing-2); -} \ No newline at end of file +} diff --git a/client/src/Components/Fallback/index.jsx b/client/src/Components/Fallback/index.jsx index c5ae48cb3..864c92441 100644 --- a/client/src/Components/Fallback/index.jsx +++ b/client/src/Components/Fallback/index.jsx @@ -69,132 +69,129 @@ const Fallback = ({ }; return ( - - - {mode === "light" ? ( - - ) : ( - - )} - - - - - - {vowelStart ? "An" : "A"} {title} is used to: - - {checks?.map((check, index) => ( - - ))} - - {/* TODO - display a different fallback if user is not an admin*/} - {isAdmin && ( - <> - - {/* Bulk create of uptime monitors */} - {title === "uptime monitor" && ( + {vowelStart ? "An" : "A"} {title} is used to: + + {checks?.map((check, index) => ( + + ))} + + {/* TODO - display a different fallback if user is not an admin*/} + {isAdmin && ( + <> - )} - - {/* Warning box for PageSpeed monitor */} - {title === "pagespeed monitor" && showPageSpeedWarning && ( - - svg": { - color: theme.palette.warningSecondary.contrastText, - }, - }, - }} + {/* Bulk create of uptime monitors */} + {title === "uptime monitor" && ( + + )} + + {/* Warning box for PageSpeed monitor */} + {title === "pagespeed monitor" && showPageSpeedWarning && ( + + svg": { + color: theme.palette.warningSecondary.contrastText, + }, + }, + }} + > + {settingsData?.pagespeedKeySet === false && ( + + )} + - - )} - - )} - - + )} + + )} + + ); };