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

Style Book doesn't switch between Desktop, Tablet and Mobile views #67737

Closed
3 of 6 tasks
shimotmk opened this issue Dec 9, 2024 · 1 comment · Fixed by #68841
Closed
3 of 6 tasks

Style Book doesn't switch between Desktop, Tablet and Mobile views #67737

shimotmk opened this issue Dec 9, 2024 · 1 comment · Fixed by #68841
Assignees
Labels
[Feature] Style Book [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@shimotmk
Copy link
Contributor

shimotmk commented Dec 9, 2024

Description

Style Book doesn't switch between Desktop, Tablet and Mobile views

I think you need to either disable the button or make it switch.

Step-by-step reproduction instructions

  1. Go to Site Editor
  2. Open Style book
  3. You can see that the width does not change even when switching between Desktop, Tablet and Mobile.

Screenshots, screen recording, code snippet

style.mov

Environment info

  • WordPress 6.7.1

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure
@shimotmk shimotmk added the [Type] Bug An existing feature does not function as intended label Dec 9, 2024
@Mamaduka Mamaduka added Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Feature] Style Book and removed Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json labels Dec 9, 2024
@Mamaduka
Copy link
Member

This makes sense. Device previews are already disabled for post types that render resize handles. See #65970.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Style Book [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants