-
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
Revert CSS removal for interface footer breadcrumbs #62309
Conversation
Size Change: +123 B (+0.01%) Total Size: 1.74 MB
ℹ️ View Unchanged
|
Flaky tests detected in 003d0f2. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9377185710
|
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.
🚀
Trunk
2024-06-05.15.16.30.mp4
This PR
2024-06-05.15.17.42.mp4
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. |
Thanks for the quick review @ramonjd! I'll merge this in now since it's a visual issue on |
@@ -163,6 +163,16 @@ html.interface-interface-skeleton__html-container { | |||
@include break-medium() { | |||
display: flex; | |||
} | |||
|
|||
.block-editor-block-breadcrumb { |
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.
Not really clear why this is in the interface package indeed. We can move it to the breadcrumb component directly.
The other thing is that it has a lot of unnecessary stuff. Why it has a background, z-index, ...
Co-authored-by: andrewserong <andrewserong@git.wordpress.org> Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
Co-authored-by: andrewserong <andrewserong@git.wordpress.org> Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
…#62309) Co-authored-by: andrewserong <andrewserong@git.wordpress.org> Co-authored-by: ramonjd <ramonopoly@git.wordpress.org>
This was cherry-picked to the wp/6.6 branch. |
What?
Reverts part of the CSS removal for the interface footer's breadcrumbs rules, removed in #62237
Why?
This CSS added left padding and ensured the height of the footer breadcrumbs was correct when no blocks were selected in the site and post editors. Re-instating the CSS appears to get the styling working again.
There's a comment in https://github.com/WordPress/gutenberg/pull/62237/files#r1624428431 that this CSS was in the wrong place. However, for now, let's re-instate the CSS and it can be moved elsewhere in a follow-up if need be. (I.e. the padding rule is appropriate as a child of the interface footer, but perhaps the height, etc, should be in the breadcrumbs component instead?)
How?
Testing Instructions
trunk
, open the post editor and don't select any blocks. Note that the height of the footer breadcrumbs is too small.Testing Instructions for Keyboard
Screenshots or screencast
Before
After