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:
DiamondYuan 2019-04-24 20:09:49 +08:00 committed by zombieJ
parent 8f0bf39348
commit b3bea96e80

View File

@ -11,6 +11,15 @@
.antCheckboxFn(@checkbox-prefix-cls: ~'@{ant-prefix}-tree-checkbox');
.@{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;
margin: 0;