Draw markdown tables at their content width, not the window's #94
Loading…
Reference in a new issue
No description provided.
Delete branch "ATC-104-table-width"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.