reworked slightly main layout

This commit is contained in:
t1enne
2022-05-03 23:55:13 +02:00
parent d65be6013a
commit 502cf4478a
10 changed files with 95 additions and 41 deletions

View File

@@ -1,7 +1,7 @@
import { Layout } from 'antd';
import { ServerStatusStore } from '../stores/ServerStatusStore';
import { ClientConfigStore } from '../stores/ClientConfigStore';
import { Content, Footer, Header, Sidebar } from '../ui';
import { Content, Header } from '../ui';
function Main() {
return (
@@ -9,12 +9,8 @@ function Main() {
<ServerStatusStore />
<ClientConfigStore />
<Layout>
<Sidebar />
<Header />
<Layout className="site-layout" style={{ marginRight: 200 }}>
<Content />
<Footer />
</Layout>
<Content />
</Layout>
</>
);