Commit 8cd0e90d authored by Chunchi Che's avatar Chunchi Che

fix canvas appending

parent 767a414a
......@@ -47,7 +47,7 @@
"height": 800
},
"sider": {
"width": 400
"width": 300
},
"footer": {
"height": 80
......
......@@ -17,6 +17,7 @@ const contentStyle: React.CSSProperties = {
minHeight: 120,
height: layoutConfig.content.height,
lineHeight: "120px",
paddingLeft: `${layoutConfig.sider.width}px`,
};
const siderStyle: React.CSSProperties = {
......@@ -41,7 +42,7 @@ const NeosLayout = (props: {
footer: React.ReactNode;
}) => {
return (
<Layout>
<Layout hasSider>
<Sider style={siderStyle} width={layoutConfig.sider.width}>
{props.sider}
</Sider>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment