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的disabled状态样式显示不太友好 #2114

Closed
leejaen opened this issue Jun 21, 2016 · 2 comments
Closed

checkbox的disabled状态样式显示不太友好 #2114

leejaen opened this issue Jun 21, 2016 · 2 comments
Assignees

Comments

@leejaen
Copy link

leejaen commented Jun 21, 2016

disabled是可不可以将其后跟着的span也置灰,这样可以一眼让人看出不可点,现在的状态只有前面的选框是灰色,后面span是黑色,下意识的点击span期望勾选到checkbox但是无效果,等鼠标移动到checkbox会出现不可点样式,改进下是否更好?

image

.ant-checkbox-disabled+span {
    color: #aaa;
    cursor: not-allowed;
}
@afc163
Copy link
Member

afc163 commented Jun 21, 2016

#ccc @ddcat1115

ddcat1115 added a commit to ddcat1115/ant-design that referenced this issue Jun 22, 2016
afc163 pushed a commit that referenced this issue Jun 23, 2016
@afc163 afc163 closed this as completed Jun 23, 2016
@lock
Copy link

lock bot commented May 5, 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 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants