mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +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