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
|
jameskoster
left a comment
There was a problem hiding this comment.
+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