Repair layout

This commit is contained in:
2025-10-22 15:26:38 +07:00
parent 988dcda0e2
commit cb98d91577
2 changed files with 2 additions and 2 deletions

View File

@@ -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) => {

View File

@@ -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',
}} }}
> >