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

Post editor layout issues when creating a synced pattern #53500

Closed
bgardner opened this issue Aug 10, 2023 · 3 comments
Closed

Post editor layout issues when creating a synced pattern #53500

bgardner opened this issue Aug 10, 2023 · 3 comments

Comments

@bgardner
Copy link

Description

I am trying to create a synced pattern from a group that has full width layout. After I create the pattern, the contents of the group are reduced to the regular content width as a result of this css:

.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 640px;
    margin-left: auto !important;
    margin-right: auto !important;
}

Step-by-step reproduction instructions

  1. Create a group and apply full width layout.
  2. Convert group to a synced pattern.
  3. See issue.

Screenshots, screen recording, code snippet

Screen.Recording.2023-08-09.at.8.40.46.PM.mov

Environment info

WordPress 6.3, Gutenberg 16.4.

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

@bgardner
Copy link
Author

Worth noting the issue only exists on the back end, as the front end displays properly at full width.

@bgardner
Copy link
Author

Confirmed issue with TT3 as well:

Screen.Recording.2023-08-09.at.8.53.43.PM.mov

@bgardner
Copy link
Author

Closing b/c dupe: #8288

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant