Skip to content

Fix responsive Markdown table layout in chat output - #83

Merged
dovvnloading merged 1 commit into
mainfrom
codex/markdown-table-layout
Jul 30, 2026
Merged

Fix responsive Markdown table layout in chat output#83
dovvnloading merged 1 commit into
mainfrom
codex/markdown-table-layout

Conversation

@dovvnloading

Copy link
Copy Markdown
Owner

What changed

  • Wrap rendered Markdown tables in a horizontally scrollable container.
  • Keep the first column at a readable width and only break genuinely long tokens inside cells.
  • Add a screenshot-sized Playwright regression covering column sizing and page overflow.

Root cause

The chat-wide overflow-wrap: anywhere rule was inherited by table cells. With the browser's automatic table layout, that made the first column's min-content width collapse and split ordinary words such as Aspect and Shape.

Validation

  • npm.cmd run lint
  • npm.cmd run typecheck
  • npm.cmd run test -- --run
  • npm.cmd run e2e -- --workers=1
  • npm.cmd run build

@dovvnloading
dovvnloading merged commit 84352e8 into main Jul 30, 2026
1 check passed
@dovvnloading
dovvnloading deleted the codex/markdown-table-layout branch July 30, 2026 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant