Browse Source

style: Fix Tree/TreeSelect filterTreeNode missing style (#28866)

close #28864
pull/28877/head
偏右 4 years ago
committed by GitHub
parent
commit
9dd39120b3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      components/tree/style/mixin.less

6
components/tree/style/mixin.less

@ -5,6 +5,7 @@
@select-tree-prefix-cls: ~'@{ant-prefix}-select-tree';
@tree-motion: ~'@{ant-prefix}-motion-collapse';
@tree-node-padding: (@padding-xs / 2);
@tree-node-hightlight-color: @volcano-7;
.antTreeSwitcherIcon(@type: 'tree-default-open-icon') {
.@{tree-prefix-cls}-switcher-icon,
@ -90,6 +91,11 @@
&-active .@{custom-tree-prefix-cls}-node-content-wrapper {
background: @tree-node-hover-bg;
}
&.filter-node .@{custom-tree-prefix-cls}-title {
color: @tree-node-hightlight-color;
font-weight: 500;
}
}
// >>> Indent

Loading…
Cancel
Save