mirror of https://github.com/usual2970/certimate
fix(ui): login theme error in dark mode
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…
Reference in New Issue