diff --git a/changelog.zh-CN.md b/changelog.zh-CN.md index 9edcf803..f91cfa88 100644 --- a/changelog.zh-CN.md +++ b/changelog.zh-CN.md @@ -152,7 +152,7 @@ ### 4.8.1 -- 🌟 增加 g`disableContentMargin` 属性,用于关闭内容区的 margin。[1456cce1](https://github.com/ant-design/ant-design-pro-layout/commit/1456cce1) +- 🌟 增加 `disableContentMargin` 属性,用于关闭内容区的 margin。[1456cce1](https://github.com/ant-design/ant-design-pro-layout/commit/1456cce1) ### 4.8.0 diff --git a/src/BasicLayout.less b/src/BasicLayout.less index 91ad47cd..dceeccca 100644 --- a/src/BasicLayout.less +++ b/src/BasicLayout.less @@ -27,7 +27,8 @@ &-disable-margin { margin: 0; - > div > .@{ant-prefix}-pro-page-container { + + .@{ant-prefix}-pro-page-container { margin: 0; } }