Skip to content

fix(docs-site): scrollable tables + cell code wrapping (completes #1003) - #1004

Merged
Dumbris merged 1 commit into
mainfrom
docs-table-scroll-fix
Aug 17, 2026
Merged

fix(docs-site): scrollable tables + cell code wrapping (completes #1003)#1004
Dumbris merged 1 commit into
mainfrom
docs-table-scroll-fix

Conversation

@Dumbris

@Dumbris Dumbris commented Aug 17, 2026

Copy link
Copy Markdown
Member

Follow-up to #1003, which was based on a wrong assumption: this Infima version ships table { display: table } (its overflow: auto is inert on that display type — verified from live computed styles), so wide tables still slid under the right TOC after #1003 deployed.

Real fix, scoped to .markdown table:

  • display: block; width: fit-content; max-width: 100%; overflow-x: auto — tables become genuine scroll containers clipped to the content column.
  • .markdown table code { white-space: pre-wrap; word-break: break-word } — long code tokens (JSON examples, hashes) wrap inside cells instead of forcing one column to full unbroken width and starving the rest (this was the 156px-row-height cause).

Verified on a local build with browser computed styles + screenshots: telemetry table now fits the column exactly (643/643px, was 1364px overflowing), all three columns visible, rows 156→79px, TOC clear.

…ll code

The previous fix assumed Infima's default table CSS provides
display:block + overflow scrolling — this Infima version ships
'display: table', on which 'overflow: auto' is inert, so wide tables
still overflowed under the right TOC (verified via live computed
styles). Scoped fix on .markdown table: display:block +
width:fit-content + max-width:100% + overflow-x:auto turns tables into
real scroll containers. Also let code tokens wrap inside cells
(pre-wrap + break-word): long JSON examples no longer starve sibling
columns into tall multi-line slivers — the telemetry table now fits
the column entirely (verified 643/643px, row height 156→79px).
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying mcpproxy-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5acfd5d
Status: ✅  Deploy successful!
Preview URL: https://e8b747da.mcpproxy-docs.pages.dev
Branch Preview URL: https://docs-table-scroll-fix.mcpproxy-docs.pages.dev

View logs

@github-actions

Copy link
Copy Markdown

📦 Build Artifacts

Workflow Run: View Run
Branch: docs-table-scroll-fix

Available Artifacts

  • archive-darwin-amd64 (29 MB)
  • archive-darwin-arm64 (26 MB)
  • archive-linux-amd64 (17 MB)
  • archive-linux-arm64 (15 MB)
  • archive-windows-amd64 (28 MB)
  • archive-windows-arm64 (25 MB)
  • frontend-dist-pr (0 MB)
  • installer-dmg-darwin-amd64 (23 MB)
  • installer-dmg-darwin-arm64 (20 MB)

How to Download

Option 1: GitHub Web UI (easiest)

  1. Go to the workflow run page linked above
  2. Scroll to the bottom "Artifacts" section
  3. Click on the artifact you want to download

Option 2: GitHub CLI

gh run download 32022860761 --repo smart-mcp-proxy/mcpproxy-go

Note: Artifacts expire in 14 days.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Dumbris
Dumbris enabled auto-merge (squash) August 17, 2026 11:22

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving CSS-only docs-site table fix, browser-verified on a local build: scoped scroll container + cell code wrapping; telemetry table fits its column, TOC clear.

@Dumbris
Dumbris merged commit 76498e9 into main Aug 17, 2026
48 checks passed
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