fix: align git changes tree controls

Use consistent checkboxes for files and folders
Align tree row indentation
Use folder icons for expandable directories
This commit is contained in:
Bohdan Triapitsyn
2026-04-28 13:00:50 +03:00
parent 72e706972a
commit 15338be265
3 changed files with 20 additions and 400 deletions
@@ -101,7 +101,7 @@ export const ChangeRow = React.memo<ChangeRowProps>(function ChangeRow({
onKeyDown={handleKeyDown}
style={indentPx > 0 ? { paddingLeft: `${indentPx}px` } : undefined}
>
<div onClick={(e) => { e.stopPropagation(); }}>
<div className="flex size-5 shrink-0 items-center justify-center" onClick={(e) => { e.stopPropagation(); }}>
<Checkbox
size="sm"
checked={checked}