Repository navigation
Commit 651a508
committed
fix(web): stop wide ordered list markers from clipping
ChatMarkdown sized the ordered list marker gutter at (digits + 1)ch, which counted the period but not the marker suffix space. Fonts whose digits, period and space all share one advance (Courier New, NSimSun) needed (digits + 2)ch, so the first digit of every 2+ digit marker hung past the gutter and was clipped by the chat timeline's overflow. Proportional fonts hid the bug because their period and space are narrower than a digit.
Model: GPT 6.1 Sol via T3 Code. Harness: Codex.1 parent 9bd1d80 commit 651a508
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
| 381 | + | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| |||
0 commit comments