Skip to content

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

Open
reggi wants to merge 2 commits into
mainfrom
reggi/table-code-nowrap
Open

fix: prevent inline code from wrapping in table cells#1968
reggi wants to merge 2 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>
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