-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Site Editor: Fix space on the left or right of the menu in mobile view #69327
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
Conversation
Size Change: +68 B (0%) Total Size: 1.84 MB
ℹ️ View Unchanged
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @t-hamano!
WordPress#69327) Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: vcanales <vcanales@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org> Co-authored-by: afercia <afercia@git.wordpress.org> Co-authored-by: rinkalpagdar <rinkalpagdar@git.wordpress.org>
What?
Closes #69156
Restores left and right spacing in the mobile layout of the site editor that was lost in the latest Gutenberg.
Why?
This issue does not occur in desktop layouts. I think the root cause is that the hierarchy of elements in mobile layouts is very different from that of desktop.
Desktop:
Mobile:
How?
I understand that the different hierarchy of elements is a result of enabling screen navigation in the mobile layout. For now, I only add left and right spacing to the mobile layout. In the future, once the components that make up the mobile layout are simplified, we may be able to make the sidebar in the mobile layout consistent with that of the desktop layout (See #69172).
Testing Instructions
Screenshots or screencast