Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多行 checkbox 样式不对齐 #3971

Closed
flashback313 opened this issue Nov 23, 2016 · 3 comments · Fixed by #3980
Closed

多行 checkbox 样式不对齐 #3971

flashback313 opened this issue Nov 23, 2016 · 3 comments · Fixed by #3980
Labels
help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request.

Comments

@flashback313
Copy link
Contributor

antd 版本 2.4.2
image
由以下样式造成

.ant-checkbox-wrapper + .ant-checkbox-wrapper {
    margin-left: 8px;
}

建议改为

.ant-checkbox-wrapper  {
    margin-right: 8px;
}
@benjycui
Copy link
Contributor

这样好点:

.ant-checkbox-wrapper:not(:last-child)  {
    margin-right: 8px;
}

来个 PR 如何?记得测试下。

@benjycui benjycui added the help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. label Nov 23, 2016
@flashback313
Copy link
Contributor Author

@benjycui 好的

@lock
Copy link

lock bot commented May 3, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants