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