fix: Tree switcher icon double click selecting (#27476)

This commit is contained in:
偏右 2020-10-30 21:10:21 +08:00 committed by GitHub
parent 2a08383a22
commit 66d3d0aacc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View File

@ -94,17 +94,17 @@
}
// >>> Switcher
& &-switcher {
&-switcher {
.antTreeSwitcherIcon();
position: relative;
flex: none;
align-self: stretch;
width: @tree-title-height;
margin: 0;
line-height: @tree-title-height;
text-align: center;
cursor: pointer;
user-select: none;
&-noop {
cursor: default;
@ -241,6 +241,10 @@
.@{custom-tree-prefix-cls}-switcher {
z-index: 1;
background: @component-background;
&-line-icon {
vertical-align: -.225em;
}
}
}
}

View File

@ -19,7 +19,7 @@
}
// >>> Switcher
& &-switcher {
&-switcher {
&_close {
.@{tree-prefix-cls}-switcher-icon {
svg {