Skip to content

Commit

Permalink
Fixed #5672: fixed the tree indentation issue caused by the expansion…
Browse files Browse the repository at this point in the history
… toggle icon

- Fixed the indentation alignment issue in tree by adjusting the padding of the expansion toggle icon.

Signed-off-by: fangnx <[email protected]>
  • Loading branch information
fangnx committed Jul 9, 2019
1 parent b0a2d87 commit 2518150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/browser/tree/tree-widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ export class TreeWidget extends ReactWidget implements StatefulWidget {
return <div
data-node-id={node.id}
className={className}
style={{ paddingLeft: '4px' }}
style={{ paddingLeft: '4px', paddingRight: '4px' }}
onClick={this.toggle}>
</div>;
}
Expand Down

0 comments on commit 2518150

Please sign in to comment.