From bada315fb3b0fbdf30c663170c867bbbc274687c Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Wed, 20 Jan 2021 21:13:37 +0800 Subject: [PATCH] style(TreeSelect): add active feedback --- src/tree-select/index.less | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/tree-select/index.less b/src/tree-select/index.less index 047d95414..c1195c5a1 100644 --- a/src/tree-select/index.less +++ b/src/tree-select/index.less @@ -35,9 +35,17 @@ color: @tree-select-item-active-color; } + &:active { + background-color: @active-color; + } + &--disabled { color: @tree-select-item-disabled-color; cursor: not-allowed; + + &:active { + background-color: transparent; + } } }