mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-08 05:29:51 +00:00
fix(ui): login theme error in dark mode
This commit is contained in:
parent
fa63f2a838
commit
0a90523d61
@ -1,4 +1,5 @@
|
|||||||
import { Navigate, Outlet } from "react-router-dom";
|
import { Navigate, Outlet } from "react-router-dom";
|
||||||
|
import { Layout } from "antd";
|
||||||
|
|
||||||
import Version from "@/components/Version";
|
import Version from "@/components/Version";
|
||||||
import { getAuthStore } from "@/repository/admin";
|
import { getAuthStore } from "@/repository/admin";
|
||||||
@ -10,11 +11,13 @@ const AuthLayout = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="container">
|
<Layout className="h-screen">
|
||||||
<Outlet />
|
<div className="container">
|
||||||
|
<Outlet />
|
||||||
|
|
||||||
<Version className="fixed bottom-4 right-8" />
|
<Version className="fixed bottom-4 right-8" />
|
||||||
</div>
|
</div>
|
||||||
|
</Layout>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user