Commit a83d4e2
committed
ui: tighten extra-labels padding to fit the actual key length
The Extra labels pre-block used padEnd(18) — a fixed width copied from
the main-labels block where it makes columns line up with header /
follower entries. In the extras block there's typically just one entry
(framework_args, 14 chars), so the fixed pad inserts 4 extra spaces
between key and value with nothing to align them to. Reads like a
formatting bug.
Compute the pad from the actual keys present + 1. With framework_args
alone, that's padEnd(15) — one space between key and value. If more
labels show up later, they self-align.1 parent 4ebdec0 commit a83d4e2
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| 275 | + | |
275 | 276 | | |
276 | | - | |
| 277 | + | |
277 | 278 | | |
278 | 279 | | |
279 | 280 | | |
| |||
0 commit comments