fix(projects): stop stranding the worktree path across the card
margin-left:auto was correct for the old single-line row, where it pushed the path to the far right of a flex row. The two-line card stacks branch over path in a column, so the same declaration shoved the path to the opposite edge from the branch it labels. Removed, with a note saying why it must not come back. Same shape as the .proj-wt-row duplicate earlier in this series: an element reused in a new layout kept a positioning declaration that only made sense in the old one. Caught by screenshot; the DOM assertions could not see it.
This commit is contained in:
@@ -2473,7 +2473,9 @@ body {
|
|||||||
color: var(--on-accent);
|
color: var(--on-accent);
|
||||||
}
|
}
|
||||||
.proj-wt-path {
|
.proj-wt-path {
|
||||||
margin-left: auto;
|
/* No margin-left:auto — that was for the old single-line row, where it pushed
|
||||||
|
the path to the far right. Inside the two-line card it sits directly under
|
||||||
|
the branch it belongs to, so auto margin would strand it across the card. */
|
||||||
font-family: Menlo, Consolas, monospace;
|
font-family: Menlo, Consolas, monospace;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
color: var(--text-faint);
|
color: var(--text-faint);
|
||||||
|
|||||||
Reference in New Issue
Block a user