-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Adds site editor mobile block settings and styles #53412
Conversation
…editor mobile views
Size Change: +53 B (0%) Total Size: 1.44 MB
ℹ️ View Unchanged
|
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.
We obviously need to do a bit better here with an additional iteration, but based just on the before/after, this one is an improvement:
Notably, the button being available fixes the main issue.
There's a padding issue in the document title that we can improve, which would free up some pixels. And finally, there are some separate conversations about moving the styles button out from here and having it invoked from Site View only, that might thread the needle. Because of those things in motion, this feels good to land in the meantime.
Also, that's an iPhone SE 1 emulation. Worst case. |
What?
Brings back (or over?) the buttons for block settings (inspector) and the syles inspector when viewing the site editor on a small viewport.
Why?
SInce we removed the "show more settings" item from the block toolbar's more menu, the icon in the header is the only way to access block settings. Thus without the icon in the header if a block is broken there is no way to fix it on a small viewport.
How?
The fact that there was no small screen title passed to the complementary area in the composition of the site editor layout makes me think we never had these sidebars on small viewports in the site editor.
Also, fixing this I noticed there was a style to make visible the 1st child of the pinned items. Either the order in which the slots are filled changed or I am missing something, but I removed that style as for me plugins are placed before the settings and styles buttons.
Testing Instructions
Testing Instructions for Keyboard
N/A
Screenshots or screencast
Before
After
mobile-site-editor-block-settings.mp4