Skip to content

Fix content column width and alignment on API reference pages - #3359

Merged
pwizla merged 1 commit into
mainfrom
repo/fix-mode-selector-alignment
Jul 27, 2026
Merged

Fix content column width and alignment on API reference pages#3359
pwizla merged 1 commit into
mainfrom
repo/fix-mode-selector-alignment

Conversation

@pwizla

@pwizla pwizla commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

This PR makes API reference pages use the exact same content column as every other doc page. They previously forced the article to full width and re-centered each kind of child with per-child, per-width special cases that had drifted apart, so content ended up at a different width and position than on regular pages, the view-mode switcher sat ~52px left of the page title, and the width even differed between API pages. Content is now identical everywhere at each content width (narrow/wide/max), while endpoint blocks keep their two-column layout at wide/max.

@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview, Comment Jul 27, 2026 12:16pm

Request Review

@pwizla pwizla self-assigned this Jul 27, 2026
@github-actions github-actions Bot added internal PRs created by the Strapi core team pr: updated content PRs updating existing documentation content source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo labels Jul 27, 2026
@pwizla pwizla added pr: chore and removed pr: updated content PRs updating existing documentation content labels Jul 27, 2026
@pwizla pwizla added this to the 7.1.0 milestone Jul 27, 2026
@pwizla

pwizla commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator Author

LGTM, the mode selector issues seem to be fixed now!

@pwizla
pwizla merged commit 590b51e into main Jul 27, 2026
10 checks passed
@pwizla
pwizla deleted the repo/fix-mode-selector-alignment branch July 27, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal PRs created by the Strapi core team pr: chore source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo

1 participant