From f59082159b1144a53518f694e4cad8521e46b125 Mon Sep 17 00:00:00 2001 From: Piotr Kwiatkowski Date: Wed, 8 Aug 2018 15:26:02 +0100 Subject: [PATCH] matched icons with the original design --- packages/core/src/components/tree/_tree.scss | 2 +- packages/core/src/components/tree/treeNode.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/components/tree/_tree.scss b/packages/core/src/components/tree/_tree.scss index 9f629d731a..9cedf40996 100644 --- a/packages/core/src/components/tree/_tree.scss +++ b/packages/core/src/components/tree/_tree.scss @@ -97,7 +97,7 @@ $tree-icon-spacing: ($tree-row-height - $pt-icon-size-standard) / 2 !default; // CSS API support &.#{$ns}-icon-standard::before { - content: $pt-icon-caret-right; + content: $pt-icon-chevron-right; } .#{$ns}-icon { diff --git a/packages/core/src/components/tree/treeNode.tsx b/packages/core/src/components/tree/treeNode.tsx index bc6ff47e2f..9a1fffae63 100644 --- a/packages/core/src/components/tree/treeNode.tsx +++ b/packages/core/src/components/tree/treeNode.tsx @@ -116,7 +116,7 @@ export class TreeNode extends React.Component, {}> { ref={this.handleContentRef} > - {showCaret && } + {showCaret && } {label}