fix sidebar menu on mobile mode

This commit is contained in:
medcl 2020-03-17 16:40:21 +08:00
parent e24eacdceb
commit 231138daca
1 changed files with 4 additions and 1 deletions

View File

@ -23,11 +23,14 @@ const SiderMenuWrapper = props => {
return isMobile ? (
<Drawer
visible={!collapsed}
bodyStyle={{
padding: 0,
}}
placement="left"
onClose={() => onCollapse(true)}
style={{
padding: 0,
height: '100vh',
height: '100vh'
}}
>
<SiderMenu