Skip to content

fix: prevent inline code from wrapping in table cells#1968

Merged
reggi merged 3 commits into
mainfrom
reggi/table-code-nowrap
May 26, 2026
Merged

fix: prevent inline code from wrapping in table cells#1968
reggi merged 3 commits into
mainfrom
reggi/table-code-nowrap

Conversation

@reggi
Copy link
Copy Markdown
Contributor

@reggi reggi commented May 22, 2026

Problem

Inline code elements (e.g. --provenance, --dry-run) inside table cells can break across lines, making flag names hard to read.

Fix

Adds white-space: nowrap to code elements inside td and th in the Table styled component.

@reggi reggi requested review from a team and leobalter as code owners May 22, 2026 18:32
@reggi reggi temporarily deployed to github-pages May 22, 2026 18:37 — with GitHub Actions Inactive
reggi and others added 2 commits May 22, 2026 16:17
Previously prettier was run on the body alone, then the file was
reassembled with frontmatter. The final output was never formatted
as a complete document, so files could fail prettier --check.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Adds white-space: nowrap to code elements inside table cells so flags
like --provenance don't break across lines.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@reggi reggi force-pushed the reggi/table-code-nowrap branch from 58a25ef to 75a13f2 Compare May 22, 2026 20:30
@reggi reggi temporarily deployed to github-pages May 22, 2026 20:33 — with GitHub Actions Inactive
@reggi reggi merged commit cf1a947 into main May 26, 2026
11 checks passed
@reggi reggi deleted the reggi/table-code-nowrap branch May 26, 2026 16:35
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.

2 participants