From 46884e06ea8cd3c8f4c7729152eba627996895d8 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 15 May 2017 17:31:16 +0800 Subject: [PATCH] Fix TreeSelect item style, close #6137 --- components/tree-select/style/index.less | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/components/tree-select/style/index.less b/components/tree-select/style/index.less index f42b52218..5ffa4af45 100644 --- a/components/tree-select/style/index.less +++ b/components/tree-select/style/index.less @@ -19,7 +19,7 @@ white-space: nowrap; outline: 0; &.filter-node { - > a { + > span { font-weight: bold !important; } } @@ -27,7 +27,7 @@ margin: 0; padding: 0 0 0 18px; } - a { + > span { display: inline-block; padding: 1px 5px; border-radius: 2px; @@ -43,8 +43,6 @@ &.@{select-tree-prefix-cls}-node-selected { background-color: @item-active-bg; } - } - span { &.@{select-tree-prefix-cls}-checkbox { margin: 2px 4px 0 0; }