fix(docs-site): scrollable tables + cell code wrapping (completes #1003) - #1004
Merged
Conversation
…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).
Deploying mcpproxy-docs with
|
| 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 |
📦 Build ArtifactsWorkflow Run: View Run Available Artifacts
How to DownloadOption 1: GitHub Web UI (easiest)
Option 2: GitHub CLI gh run download 32022860761 --repo smart-mcp-proxy/mcpproxy-go
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Dumbris
enabled auto-merge (squash)
August 17, 2026 11:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #1003, which was based on a wrong assumption: this Infima version ships
table { display: table }(itsoverflow: autois 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.