simplify styling in ServerUnreachable component
This commit is contained in:
1 parent
8e495d1251
commit
8e8f35b447
1 file changed
-10
@@ -33,7 +33,6 @@ const ServerUnreachable = () => {
|
|||||||
navigate("/login");
|
navigate("/login");
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// If still unreachable, stay on this page and show toast
|
// If still unreachable, stay on this page and show toast
|
||||||
console.error("Server still unreachable:", error);
|
|
||||||
createToast({
|
createToast({
|
||||||
body: t("backendStillUnreachable", "Server is still unreachable"),
|
body: t("backendStillUnreachable", "Server is still unreachable"),
|
||||||
});
|
});
|
||||||
@@ -46,15 +45,6 @@ const ServerUnreachable = () => {
|
|||||||
<Stack
|
<Stack
|
||||||
className="login-page auth"
|
className="login-page auth"
|
||||||
overflow="hidden"
|
overflow="hidden"
|
||||||
sx={{
|
|
||||||
"& h1": {
|
|
||||||
color: theme.palette.primary.contrastText,
|
|
||||||
fontWeight: 600,
|
|
||||||
fontSize: 28,
|
|
||||||
},
|
|
||||||
"& p": { fontSize: 14, color: theme.palette.primary.contrastTextSecondary },
|
|
||||||
"& span": { fontSize: "inherit" },
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<Box
|
<Box
|
||||||
className="background-pattern-svg"
|
className="background-pattern-svg"
|
||||||
|
|||||||
Reference in new issue
Block a user