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 { Layout } from "antd";
|
||||
|
||||
import Version from "@/components/Version";
|
||||
import { getAuthStore } from "@/repository/admin";
|
||||
@ -10,11 +11,13 @@ const AuthLayout = () => {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="container">
|
||||
<Outlet />
|
||||
<Layout className="h-screen">
|
||||
<div className="container">
|
||||
<Outlet />
|
||||
|
||||
<Version className="fixed bottom-4 right-8" />
|
||||
</div>
|
||||
<Version className="fixed bottom-4 right-8" />
|
||||
</div>
|
||||
</Layout>
|
||||
);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user