Commit 96fc3d69 authored by liangliangyin's avatar liangliangyin

fix: mobile sidemenu padding

parent 6c32183c
......@@ -71,7 +71,7 @@ const getPaddingLeft = (
if (hasLeftPadding) {
return collapsed ? 80 : siderWidth
}
return undefined
return 0
}
const headerRender = (h, props) => {
......@@ -112,7 +112,6 @@ const BasicLayout = {
// If it is a fix menu, calculate padding
// don't need padding in phone mode
const hasLeftPadding = fixSiderbar && !isTopMenu && !isMobile
const cdProps = {
...props,
hasSiderMenu,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment