Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
💄 UI: fix disable-margin margin error
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Jul 13, 2020
1 parent 64d588a commit 661933e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion changelog.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion src/BasicLayout.less
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@

&-disable-margin {
margin: 0;
> div > .@{ant-prefix}-pro-page-container {

.@{ant-prefix}-pro-page-container {
margin: 0;
}
}
Expand Down

0 comments on commit 661933e

Please sign in to comment.