Repair layout
This commit is contained in:
@@ -7,7 +7,7 @@ const { Sider } = Layout;
|
||||
const LayoutSidebar = () => {
|
||||
return (
|
||||
<Sider
|
||||
width={300}
|
||||
width={210}
|
||||
breakpoint="lg"
|
||||
collapsedWidth="0"
|
||||
onBreakpoint={(broken) => {
|
||||
|
||||
@@ -20,7 +20,7 @@ const MainLayout = ({ children }) => {
|
||||
<LayoutSidebar />
|
||||
<Layout
|
||||
style={{
|
||||
marginLeft: isDesktop ? '300px' : '0',
|
||||
marginLeft: isDesktop ? '210px' : '0',
|
||||
overflow: 'auto',
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user