Skip to content

Conversation

@ramonjd
Copy link
Member

@ramonjd ramonjd commented Jun 26, 2023

The changes in aef1cb9 have broken the site editor in view and editor modes.

It added an additional wrapper for the site-editor div, which breaks flexbox styling.

props @kevin940726 for finding the bug and proposing the fix

Before

Screenshot 2023-06-26 at 12 24 43 pm Screenshot 2023-06-26 at 12 24 37 pm

After

Screenshot 2023-06-26 at 12 30 12 pm Screenshot 2023-06-26 at 12 30 07 pm Screenshot 2023-06-26 at 12 27 49 pm

Trac ticket: https://core.trac.wordpress.org/ticket/56228


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

Copy link
Contributor

@joedolson joedolson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this specific to having gutenberg running? I was only testing against core, and didn't see this. Either way, no problem with it.

@ramonjd
Copy link
Member Author

ramonjd commented Jun 26, 2023

Is this specific to having gutenberg running? I was only testing against core, and didn't see this. Either way, no problem with it.

Thanks @joedolson!

We first noticed it on Gutenberg, but then tested on Core without the plugin active. I had to clean my env and recompile everything to replicate it.

Copy link
Contributor

@tellthemachines tellthemachines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this! Testing the site editor with this branch everything works as expected.

@tellthemachines
Copy link
Contributor

Committed in r56029 / 9d4f4a9.

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

Successfully merging this pull request may close these issues.

3 participants