Repository navigation
Commit 463c60f
secooond
fix(commitments): reserve 3 chars for ellipsis in truncate()
truncate() reserved maxChars-1 for a single-char ellipsis but
appended the three-character '...', causing truncated values to
overflow by 2 characters. This broke fixed-width padEnd() column
alignment in the commitments table.
Change maxChars-1 to maxChars-3 to match the actual ellipsis width.
Closes #95921.1 parent 7626ca3 commit 463c60f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments