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

The Style Book not working as expected when tweaking dimensions #67092

Closed
3 of 6 tasks
westnz opened this issue Nov 18, 2024 · 2 comments · Fixed by #67098
Closed
3 of 6 tasks

The Style Book not working as expected when tweaking dimensions #67092

westnz opened this issue Nov 18, 2024 · 2 comments · Fixed by #67098
Assignees
Labels
[Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@westnz
Copy link

westnz commented Nov 18, 2024

Description

When I modify the dimensions of certain blocks in the Style Book globally, it does not work as expected. I would expect you to see the changes you make. When I change the block spacing of the Columns block, the layout becomes misaligned or distorted. When I update the padding of the Group block, nothing changes visually.

Step-by-step reproduction instructions

  1. Go to the Style Book
  2. Modify the block spacing of Columns block and try to update the padding and margin of the Group block

Screenshots, screen recording, code snippet

Screen.Recording.2024-11-19.at.9.55.46.AM.mov

Environment info

  • WordPress 6.7
  • Chrome
  • MacBook Pro

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
@westnz westnz added the [Type] Bug An existing feature does not function as intended label Nov 18, 2024
@westnz westnz changed the title The Stylebook not working as expected when tweaking dimensions The Style Book not working as expected when tweaking dimensions Nov 18, 2024
@ramonjd
Copy link
Member

ramonjd commented Nov 19, 2024

Thanks for the issue. The Columns block looks okay to me, but the Group block padding does have some issues.

Kapture.2024-11-19.at.16.49.08.mp4

I think the example styles are the culprit:

I'll see if applying them or a margin to the inner block works.

@ramonjd
Copy link
Member

ramonjd commented Nov 19, 2024

Hopefully this will fix it!!

@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[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