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

Zoom out: Vertical toolbar overlaps with container #65909

Closed
2 tasks done
madhusudhand opened this issue Oct 7, 2024 · 2 comments
Closed
2 tasks done

Zoom out: Vertical toolbar overlaps with container #65909

madhusudhand opened this issue Oct 7, 2024 · 2 comments
Labels
[Feature] Zoom Out [Type] Bug An existing feature does not function as intended

Comments

@madhusudhand
Copy link
Member

Description

Block themes developed before root padding support was added has a workaround to set padding to .is-root-container in style.css
In such themes, vertical toolbar overlaps with/falls inside the container.

Twenty twenty two (style.css):

/*
 * Alignment styles.
 * These rules are temporary, and should not be relied on or
 * modified too heavily by themes or plugins that build on
 * Twenty Twenty-Two. These are meant to be a precursor to
 * a global solution provided by the Block Editor.
 *
 * Relevant issues:
 * https://github.com/WordPress/gutenberg/issues/35607
 * https://github.com/WordPress/gutenberg/issues/35884
 */

.wp-site-blocks,
body > .is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-group.has-background,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align="full"] > .wp-block-group,
.is-root-container .wp-block[data-align="full"] > .wp-block-cover {
	padding-left: var(--wp--custom--spacing--outer);
	padding-right: var(--wp--custom--spacing--outer);
}

Remote theme: (https://wordpress.org/themes/remote/)

Step-by-step reproduction instructions

  1. Activate twenty-twenty-two theme
  2. try inserting following patterns
  1. Observe that the vertical toolbar falls inside the container.

Screenshots, screen recording, code snippet

No response

Environment info

No response

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
@madhusudhand madhusudhand added [Type] Bug An existing feature does not function as intended [Feature] Zoom Out labels Oct 7, 2024
@ndiego ndiego moved this to 📥 Todo in WordPress 6.7 Editor Tasks Oct 7, 2024
@ndiego
Copy link
Member

ndiego commented Oct 7, 2024

I can confirm. Adding this to the 6.7 project board.

@annezazu
Copy link
Contributor

annezazu commented Oct 7, 2024

Closing this out as it overlaps with a current known issue: #65188

@annezazu annezazu closed this as completed Oct 7, 2024
@github-project-automation github-project-automation bot moved this from 📥 Todo to ✅ Done in WordPress 6.7 Editor Tasks Oct 7, 2024
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

No branches or pull requests

3 participants