fix(git): stage with the plus glyph and restore the tree indent guides

The per-row and per-directory stage action drew the unstage minus in every
group (vscode splits these as $(add) / $(remove)), and the SCM tree lost the
indent guides the pre-SCM nested tree drew. Staging rows now carry the host's
Plus, unstaging rows the minus, and every level above a row paints its 1px
border-l1 hairline in the same 12px column as before.
This commit is contained in:
hairyf committed 2026-10-14 00:09:47 +08:00
1 parent 98a5cb36c4
commit 812f1e9e70
5 files changed
+144 -4

No files matched your search

+12
View File
@@ -173,6 +173,18 @@
background: var(--dsw-alias-state-business-primary);
}
/* The tree's indent guides: the same 1px `border-l1` edge the old nested
`.treeChildren` wrapper drew (`margin-left: 11px` boundaries become the
absolutely placed columns in `IndentGuides`), one per level above the row and
spanning the whole band, so the flex metrics never move. */
.guide {
position: absolute;
top: 0;
bottom: 0;
width: 0;
border-left: 1px solid var(--dsw-alias-border-l1);
}
.rowMain {
flex: 1;
min-width: 0;