-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Reduce clearance around frame in focus mode #57124
Conversation
Size Change: -8 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
Flaky tests detected in 1f2aa6d. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7227433766
|
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.
+1, we can certainly reduce now that there's no need to accommodate the 'Back' button.
Jay catches a good caveat we should address before merging. That is to say, I expect that in-canvas back button to be retired in favor of a back button in the document title interface. So eventually we can land this, and we should, because the new clearance avoids the tangent with the site logo. |
Dismissing as we found a blocker.
Indeed, I was referring to the same, that we end up with a single "back" button affordance, the one that exists in the top toolbar, not in the canvas. The document title will need to appear regardless, when you enter focus mode. |
#58528 reduced the size of this. |
What?
We don't need this clearance to be quite so large—just thick enough to provide context that this is a focused view for editing this site component (patterns, template part, etc).
Reducing this also helps with the transitions that occur when you navigate through to a pattern/template part; as there is less "jump" between clearances.
Related in part to #57023.
How?
Small CSS change.
Testing Instructions
Screenshots or screencast