mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-13 21:32:56 +08:00
fix: Tree checkbox animation not correct (#16272)
* fix: Tree checkbox animation not correct * fix: Tree checkbox animation not correct * fix: Tree checkbox animation not correct * chore: add comment
This commit is contained in:
parent
8f0bf39348
commit
b3bea96e80
@ -11,6 +11,15 @@
|
|||||||
.antCheckboxFn(@checkbox-prefix-cls: ~'@{ant-prefix}-tree-checkbox');
|
.antCheckboxFn(@checkbox-prefix-cls: ~'@{ant-prefix}-tree-checkbox');
|
||||||
|
|
||||||
.@{tree-prefix-cls} {
|
.@{tree-prefix-cls} {
|
||||||
|
/* see https://github.com/ant-design/ant-design/issues/16259 */
|
||||||
|
&-checkbox-checked::after {
|
||||||
|
position: absolute;
|
||||||
|
top: 16.67%;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 66.67%;
|
||||||
|
}
|
||||||
|
|
||||||
.reset-component;
|
.reset-component;
|
||||||
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user