mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
fix: Checkbox should not show highlight when disabled (#18168)
* fix: Checkbox should not show highlight when disabled * add comment
This commit is contained in:
parent
40f64cb095
commit
dfd6ce8609
@ -137,6 +137,12 @@
|
||||
color: @disabled-color;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
// Not show highlight border of checkbox when disabled
|
||||
&:hover::after,
|
||||
.@{checkbox-prefix-cls}-wrapper:hover &::after {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.@{checkbox-prefix-cls}-wrapper {
|
||||
|
Loading…
Reference in New Issue
Block a user