Skip to content

Update from code changes: document table column widths - #7211

Merged
ethanpalm merged 2 commits into
mainfrom
mintlify/17188d08
Sep 2, 2026
Merged

Update from code changes: document table column widths#7211
ethanpalm merged 2 commits into
mainfrom
mintlify/17188d08

Conversation

@mintlify

@mintlify mintlify Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Tables now honor authored column widths: when an HTML table includes a <colgroup> where every <col> declares a width, Mintlify renders the table with fixed column widths, wraps long content within each column, and drops the per-cell minimum width. Tables without a complete colgroup keep the existing automatic sizing, and wide tables still scroll horizontally. col and colgroup are now allowed in MDX, so migrated docs markup passes through. Previously the only workaround was per-table custom CSS.

https://github.com/mintlify/mint/pull/10603

Changes

  • Added a "Column widths" section to the lists and tables page explaining how to set explicit column widths with <colgroup>/<col>, when widths apply, and the fallback behavior, with a rendered example and code sample
  • Mirrored the new section in the Spanish, French, and Chinese translations

Note

Low Risk
Documentation-only updates with no runtime or product code changes.

Overview
Documents how authors can set fixed table column widths in Mintlify docs after platform support for <colgroup> / <col> in MDX.

Adds a new Column widths subsection on the lists-and-tables page (English plus Spanish, French, and Chinese). It explains that Markdown tables stay auto-sized, while HTML tables with a <colgroup> where every <col> has a width (attribute or inline style) use those widths and wrap cell content; incomplete width declarations fall back to content-based sizing, and overly wide tables still scroll horizontally. Each locale includes a live example table and a matching html code block.

Reviewed by Cursor Bugbot for commit db6fb84. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify

mintlify Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Sep 1, 2026, 6:34 AM

@mintlify

mintlify Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
tomee 🟡 Building Sep 1, 2026, 6:33 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Comment thread create/list-table.mdx Outdated
@ethanpalm
ethanpalm merged commit 8ca44f9 into main Sep 2, 2026
4 checks passed
@ethanpalm
ethanpalm deleted the mintlify/17188d08 branch September 2, 2026 17:17
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