Skip to content

View mode switcher improvements#3317

Merged
pwizla merged 3 commits into
mainfrom
mode-switcher-improvements
Jul 3, 2026
Merged

View mode switcher improvements#3317
pwizla merged 3 commits into
mainfrom
mode-switcher-improvements

Conversation

@lucasboilly

Copy link
Copy Markdown
Contributor

Small UI improvements for the mode switcher.

  • prevent switcher to disappear on scroll
  • improve spacings
  • add gradient below for a smooth transition between the content and the switcher
  • moved the layout switcher inside of the mode switcher container for better alignement
  • use padding rather that top so the content isn't visible above the switcher

Before
CleanShot 2026-07-03 at 15 08 33@2x

After
CleanShot 2026-07-03 at 15 08 19@2x

@strapi-cla

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@vercel

vercel Bot commented Jul 3, 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 3, 2026 1:31pm

Request Review

@github-actions github-actions Bot added pr: updated content PRs updating existing documentation content source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo internal PRs created by the Strapi core team labels Jul 3, 2026
Comment thread docusaurus/src/scss/_base.scss Outdated
@pwizla

pwizla commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Looks great, Lucas, thank you!
Apart from the small improvement I mentioned here, it's mergeable. 🚀

Co-authored-by: Pierre Wizla <pwizla+github@gmail.com>
@pwizla pwizla added this to the 7.0.1 milestone Jul 3, 2026
@pwizla pwizla added pr: chore and removed pr: updated content PRs updating existing documentation content labels Jul 3, 2026
@pwizla pwizla changed the title mode switcher improvements View mode switcher improvements Jul 3, 2026
@pwizla pwizla merged commit f4e7096 into main Jul 3, 2026
5 of 6 checks passed
@pwizla pwizla deleted the mode-switcher-improvements branch July 3, 2026 13:33
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 temp: design improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants