Skip to content

Commit b40c2d6

Browse files
committed
Use chevrons for Live Watch tree toggles (match VS Code watch view)
1 parent 7e5c359 commit b40c2d6

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

resources/live-watch.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,21 @@
5959
}
6060
.tree-toggle.collapsed::before {
6161
content: '';
62-
border: 4px solid transparent;
63-
border-left: 6px solid var(--vscode-foreground);
64-
margin-left: 2px;
62+
width: 6px;
63+
height: 6px;
64+
border: 1px solid var(--vscode-foreground);
65+
border-width: 1px 1px 0 0;
66+
transform: rotate(45deg);
67+
margin-left: -2px;
6568
}
6669
.tree-toggle.expanded::before {
6770
content: '';
68-
border: 4px solid transparent;
69-
border-top: 6px solid var(--vscode-foreground);
70-
margin-top: 2px;
71+
width: 6px;
72+
height: 6px;
73+
border: 1px solid var(--vscode-foreground);
74+
border-width: 1px 1px 0 0;
75+
transform: rotate(135deg);
76+
margin-top: -2px;
7177
}
7278
.tree-toggle.no-children {
7379
visibility: hidden;

0 commit comments

Comments
 (0)