fix(Tree): Switcher loading icon and checkbox should be vertical align when @tree-title-height is modified, close #15955 (#15962)

This commit is contained in:
诸岳 2019-04-10 17:44:39 +08:00 committed by zombieJ
parent c9b7fecb7d
commit dcdd7fb414

View File

@ -73,7 +73,7 @@
left: 0;
display: inline-block;
width: 24px;
height: 24px;
height: @tree-title-height;
color: @primary-color;
font-size: 14px;
transform: none;
@ -120,13 +120,16 @@
}
span {
&.@{tree-prefix-cls}-checkbox {
margin: 4px 4px 0 2px;
top: initial;
height: @tree-title-height;
margin: 0 4px 0 2px;
padding: ((@tree-title-height - 16px) / 2) 0;
}
&.@{tree-prefix-cls}-switcher,
&.@{tree-prefix-cls}-iconEle {
display: inline-block;
width: 24px;
height: 24px;
height: @tree-title-height;
margin: 0;
line-height: @tree-title-height;
text-align: center;