-
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
Use consistent canvas frame spacing on device preview and zoom out #66018
Conversation
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. |
Size Change: -18 B (0%) Total Size: 1.77 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.
LGTM
Co-authored-by: richtabor <richtabor@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
I just cherry-picked this PR to the wp/6.7 branch to get it included in the next release: b352fc5 |
The most important seems to be a consistent top / bottom padding |
Yes. We can tweak the horizontal padding. But bigger question is if the caveats and complexity of the vertical toolbar is worth it. What's your opinion? |
Technically speaking, It does add duplication and complexity and the behavior is not consistent (full width blocks). I would love to understand more if it adds a big value, either in terms of design or UX as otherwise, I'd be in favor of removing it. |
Co-authored-by: richtabor <richtabor@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
…#66018) Co-authored-by: richtabor <richtabor@git.wordpress.org> Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
What?
The zoom out frame spacing was set to
48px
, while the preview frame for responsive views is set to36px
and64px
based on viewport. Instead let's just keep it the same value (40px
) so that there is less variance when switching between each of these.Testing Instructions
Screenshots or screencast
CleanShot.2024-10-10.at.14.07.40.mp4