Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browsing styles should not zoom out with device preview #65991

Closed
2 tasks done
juanfra opened this issue Oct 9, 2024 · 1 comment · Fixed by #66023
Closed
2 tasks done

Browsing styles should not zoom out with device preview #65991

juanfra opened this issue Oct 9, 2024 · 1 comment · Fixed by #66023
Assignees
Labels
[Feature] Zoom Out [Type] Bug An existing feature does not function as intended

Comments

@juanfra
Copy link
Member

juanfra commented Oct 9, 2024

Description

When I am in the site editor, I choose to have the mobile view and browse styles then the zoom out is triggered. As a result the editor becomes really small and difficult to use.

I believe in other places we are avoiding this scenario where the mobile view is zoomed out, and it defaults to desktop view.

Step-by-step reproduction instructions

  1. Go to the site editor
  2. Select the mobile view.
  3. Open the "Styles" section.
  4. Click on "Browse styles"
  5. See how the editor becomes narrow and challenging to use.

Screenshots, screen recording, code snippet

Screen.Recording.2024-10-09.at.14.58.19.mov

Environment info

  • WordPress 6.7 beta-2.
  • Gutenberg trunk
  • Twenty Twenty-Five trunk

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes
@juanfra juanfra added [Feature] Zoom Out [Type] Bug An existing feature does not function as intended labels Oct 9, 2024
@richtabor richtabor changed the title Zoom out triggered when browsing styles in site editor and mobile view enabled. Browsing styles should not zoom out with device preview Oct 9, 2024
@ndiego ndiego moved this to 📥 Todo in WordPress 6.7 Editor Tasks Oct 9, 2024
@richtabor
Copy link
Member

Related #65080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Zoom Out [Type] Bug An existing feature does not function as intended
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants