diff --git a/scss/components/form/_tree.scss b/scss/components/form/_tree.scss index 8949898e0..3e5def7b2 100644 --- a/scss/components/form/_tree.scss +++ b/scss/components/form/_tree.scss @@ -32,8 +32,6 @@ position: relative; >div { - color: inherit; - &:hover { text-decoration: none; @@ -230,11 +228,13 @@ - &-item &-item>&-itemLabel { + &-item &-item>&-itemLabel, + &-item>&-placeholder { padding-left: $Tree-indent; } - &-item &-item &-item>&-itemLabel { + &-item &-item &-item>&-itemLabel, + &-item &-item>&-placeholder { padding-left: $Tree-indent * 2; } diff --git a/src/components/Tree.tsx b/src/components/Tree.tsx index 7982fabf0..f90f61c0d 100644 --- a/src/components/Tree.tsx +++ b/src/components/Tree.tsx @@ -646,6 +646,8 @@ export class TreeSelector extends React.Component< ) : null} {childrenItems} + ) : !childrenItems && item.placeholder ? ( +