fix(FN-XXX): improve git manager diff layout

This commit is contained in:
gsxdsm
2026-04-29 16:26:53 -07:00
parent 64d0f258ae
commit 94edc2176c
5 changed files with 141 additions and 31 deletions

View File

@@ -1087,11 +1087,16 @@
margin-left: calc(16px + var(--space-sm)); /* align with text after icon + gap */
}
/* Truncate parent dirs from the LEFT so the filename stays visible. JSX
* wraps the path in `<bdo dir="ltr">` to preserve readable left-to-right
* display while `direction: rtl` flips the ellipsis to the start. */
.changes-file-path {
flex: 1;
min-width: 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
direction: rtl;
font-family: var(--font-mono);
font-size: 12px;
}