Skip to content

Conversation

@pwizla
Copy link
Collaborator

@pwizla pwizla commented Nov 21, 2025

This PR fixes a layout shift that was present when reloading the page or landing on a page after a MeiliSearch search.

The `main` element is, weirdly enough, not part of the `docRoot`
element at first load. So I'm just specifically targeting the docRoot
width under these conditions.
@vercel
Copy link

vercel bot commented Nov 21, 2025

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

Project Deployment Preview Comments Updated (UTC)
documentation Ready Ready Preview Comment Nov 21, 2025 1:06pm

@github-actions github-actions bot added 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 labels Nov 21, 2025
@pwizla pwizla added this to the 6.12.1 milestone Nov 21, 2025
@pwizla pwizla self-assigned this Nov 21, 2025
@pwizla pwizla merged commit 84f5b37 into main Nov 21, 2025
6 checks passed
@pwizla pwizla deleted the repo/fix-layout-shift-when-loading branch November 21, 2025 13:11
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant