mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-12 12:04:16 +00:00
moved backgroundDecorator
to layout
This commit is contained in:
parent
d2e3c6008f
commit
90b126db68
@ -413,7 +413,6 @@ class App extends React.Component {
|
|||||||
<title>{config.app.siteName}</title>
|
<title>{config.app.siteName}</title>
|
||||||
</Helmet>
|
</Helmet>
|
||||||
<antd.ConfigProvider>
|
<antd.ConfigProvider>
|
||||||
<div className="backgroundDecorator" />
|
|
||||||
<Router.InternalRouter>
|
<Router.InternalRouter>
|
||||||
<Layout
|
<Layout
|
||||||
user={this.state.user}
|
user={this.state.user}
|
||||||
|
@ -5,7 +5,9 @@ import * as antd from "antd"
|
|||||||
import { Sidebar, Drawer, Sidedrawer } from "components/layout"
|
import { Sidebar, Drawer, Sidedrawer } from "components/layout"
|
||||||
|
|
||||||
export default (props) => {
|
export default (props) => {
|
||||||
return <antd.Layout className="app_layout" style={{ height: "100%" }}>
|
return <>
|
||||||
|
<div className="backgroundDecorator" />
|
||||||
|
<antd.Layout className="app_layout" style={{ height: "100%" }}>
|
||||||
<Drawer />
|
<Drawer />
|
||||||
<Sidebar user={props.user} />
|
<Sidebar user={props.user} />
|
||||||
<Sidedrawer />
|
<Sidedrawer />
|
||||||
@ -17,4 +19,5 @@ export default (props) => {
|
|||||||
</antd.Layout.Content>
|
</antd.Layout.Content>
|
||||||
</antd.Layout>
|
</antd.Layout>
|
||||||
</antd.Layout>
|
</antd.Layout>
|
||||||
|
</>
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user