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

Commit ce43575

Browse files
committed
Bump devtools-components to 0.1.1.
Fix non-expandable node alignment.
1 parent f4ded10 commit ce43575

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/devtools-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devtools-components",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "DevTools HTML Components",
55
"main": "index.js",
66
"scripts": {

packages/devtools-components/src/tree.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
border-inline-start: 1px solid #A2D1FF;
3434
}
3535

36+
/* Align with expandables siblings (where we have the arrow) */
37+
.tree-node[data-expandable="false"] .tree-indent:last-of-type {
38+
margin-inline-end: 15px;
39+
}
40+
3641
.tree .tree-node[data-expandable="true"] {
3742
cursor: default;
3843
}

0 commit comments

Comments
 (0)