Skip to content

fix(docs): widen layout and cap reading column on large screens (#2925)#816

Merged
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync
Jul 24, 2026
Merged

fix(docs): widen layout and cap reading column on large screens (#2925)#816
inkeep-oss-sync[bot] merged 1 commit into
mainfrom
copybara/sync

Conversation

@inkeep-oss-sync

Copy link
Copy Markdown
Contributor

Copybara-translated 1 Inkeep OSS change. Rebase-merge this PR so the prepared commit lands directly on public main.

Set the Fumadocs docs layout to a 2000px band and give the article a
responsive max-width so text on wide screens sits in a centered reading
column with even side air instead of stretching edge-to-edge.

- --fd-layout-width 2000 / --fd-page-width 1714 so the content band fills
  the space after the sidebar (no floating gap; TOC pins to the right).
- --ok-content-width min(85%, 980px): proportional to the content region
  so it never butts the sidebar/TOC edges, capped at 980px.
- Only apply the cap above 2xl (1536px); below that the article fills the
  content area edge-to-edge, matching current prod on smaller screens.

GitOrigin-RevId: 0261c31b9710704678855caa9e5238e5d43ae0ca
@inkeep-oss-sync
inkeep-oss-sync Bot merged commit 043312a into main Jul 24, 2026
@inkeep-oss-sync
inkeep-oss-sync Bot deleted the copybara/sync branch July 24, 2026 23:57
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