Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
Bump devtools-components to 0.1.1.
Browse files Browse the repository at this point in the history
Fix non-expandable node alignment.
  • Loading branch information
nchevobbe committed Nov 30, 2017
1 parent f4ded10 commit ce43575
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/devtools-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devtools-components",
"version": "0.1.0",
"version": "0.1.1",
"description": "DevTools HTML Components",
"main": "index.js",
"scripts": {
Expand Down
5 changes: 5 additions & 0 deletions packages/devtools-components/src/tree.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
border-inline-start: 1px solid #A2D1FF;
}

/* Align with expandables siblings (where we have the arrow) */
.tree-node[data-expandable="false"] .tree-indent:last-of-type {
margin-inline-end: 15px;
}

.tree .tree-node[data-expandable="true"] {
cursor: default;
}
Expand Down

0 comments on commit ce43575

Please sign in to comment.