Skip to content

Commit

Permalink
fix(theme): fix duplicate white spaces (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk authored Oct 4, 2018
1 parent 905f515 commit 1545178
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
8 changes: 0 additions & 8 deletions packages/abc/page-header/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,6 @@
&__action {
margin-left: 56px;
min-width: 266px;
nz-popconfirm:not(:last-child),
.ant-btn-group:not(:last-child),
.ant-btn:not(:last-child) {
margin-right: 8px;
}
.ant-btn-group > .ant-btn {
margin-right: 0;
}
}

&__title,
Expand Down
4 changes: 3 additions & 1 deletion packages/theme/styles/app/antd/_preserve-white-spaces.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
.ant-btn + .ant-btn,
.ant-btn + nz-popconfirm,
nz-popconfirm + .ant-btn,
nz-popconfirm + nz-popconfirm {
nz-popconfirm + nz-popconfirm,
.ant-btn + nz-button-group,
nz-popconfirm + nz-button-group {
margin-left: @button-and-button-white-spacing;
}
.ant-btn-group {
Expand Down

0 comments on commit 1545178

Please sign in to comment.