fix(git): keep selected change rows inside their groups

Restore selection declarations removed with logRow during graph integration. Dangling selectors had inherited absolute positioning and borders from indent guides. Add parsed CSS and mounted browser regression coverage for staged, unstaged and conflict rows.
This commit is contained in:
Menghuan1918 committed 2026-10-16 21:45:57 +08:00
1 parent e523f832cc
commit 0ba7edf444
5 files changed
+255 -4

No files matched your search

+13 -2
View File
@@ -166,10 +166,21 @@
(the tasks page's own recipe), so the row stays shadowless and no metric
shifts between rows. */
.row[data-selected='true'],
.opRow[data-selected='true'],
.opRow[data-selected='true'] {
background: var(--dsw-alias-interactive-bg-active);
}
.row[data-selected='true']::before,
.opRow[data-selected='true']::before,
.opRow[data-selected='true']::before {
content: '';
position: absolute;
left: 0;
top: 4px;
bottom: 4px;
width: 2px;
border-radius: 1px;
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