Draw markdown tables at their content width, not the window's #94

Merged
merge-queue merged 2 commits from ATC-104-table-width into main 2026-11-15 09:31:23 -08:00
Owner

Work package: https://openproject.home.romaine.life/wp/ATC-104

Glamour gives every table the full wrap width and lipgloss spreads the columns evenly to fill it, so a two-column table of short words filled the window. Each top-level table is now drawn by its own glamour renderer at its content's width (each column's widest cell plus padding and rules), capped at the wrap, where lipgloss still wraps a wider table; the blocks around it render as before, a blank row apart. Links in a table now draw inline, text, address and copy button, as in a paragraph: with the old footnotes, the narrower table cut the footnote's address short. A table inside a list or quote keeps glamour's full-width layout.

Work package: https://openproject.home.romaine.life/wp/ATC-104 Glamour gives every table the full wrap width and lipgloss spreads the columns evenly to fill it, so a two-column table of short words filled the window. Each top-level table is now drawn by its own glamour renderer at its content's width (each column's widest cell plus padding and rules), capped at the wrap, where lipgloss still wraps a wider table; the blocks around it render as before, a blank row apart. Links in a table now draw inline, text, address and copy button, as in a paragraph: with the old footnotes, the narrower table cut the footnote's address short. A table inside a list or quote keeps glamour's full-width layout.
Draw markdown tables at their content width (ATC-104)
Some checks failed
CI / changes (pull_request) Successful in 2s
CI / build (pull_request) Has been cancelled
CI / home-sync (pull_request) Has been cancelled
2cb7ae712f
Merge branch 'main' into ATC-104-table-width
All checks were successful
CI / changes (pull_request) Successful in 2s
CI / build (pull_request) Successful in 45s
CI / pcs (pull_request) Has been skipped
CI / prune-releases (pull_request) Has been skipped
CI / home-sync (pull_request) Successful in 0s
merge-queue landed on main
1a09ff38e5
merge-queue deleted branch ATC-104-table-width 2026-11-15 09:31:23 -08:00
Sign in to join this conversation.
No reviewers
No labels
queue
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/at-claude!94
No description provided.