Merge pull request #1156 from XyanZhang/master

fix: clicking on the sidebar collapse button results in a blank screen.
This commit is contained in:
Baorong Li
2023-06-14 15:17:56 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ class Sider extends PureComponent {
trigger={null}
collapsible
collapsed={collapsed}
onBreakpoint={!isMobile && onCollapseChange}
onBreakpoint={!isMobile ? onCollapseChange : (broken) => {}}
className={styles.sider}
>
<div className={styles.brand}>
+1 -1
View File
@@ -3,7 +3,7 @@
body {
height: 100%;
overflow-y: hidden;
overflow-y: auto;
background-color: #f8f8f8;
}