Skip to content

Commit

Permalink
matched icons with the original design
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Kwiatkowski committed Aug 8, 2018
1 parent 22e401e commit f590821
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/components/tree/_tree.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/components/tree/treeNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class TreeNode<T = {}> extends React.Component<ITreeNodeProps<T>, {}> {
ref={this.handleContentRef}
>
<span className={caretClasses} onClick={showCaret ? this.handleCaretClick : undefined}>
{showCaret && <Icon icon="caret-right" />}
{showCaret && <Icon icon="chevron-right" />}
</span>
<Icon className={Classes.TREE_NODE_ICON} icon={icon} />
<span className={Classes.TREE_NODE_LABEL}>{label}</span>
Expand Down

1 comment on commit f590821

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

matched icons with the original design

Preview: documentation | landing | table

Please sign in to comment.