Restore classic auto margin rule to its previous specificity.#60802
Restore classic auto margin rule to its previous specificity.#60802tellthemachines merged 1 commit intotrunkfrom
Conversation
|
Size Change: -2 B (0%) Total Size: 1.75 MB
ℹ️ View Unchanged
|
|
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. |
andrewserong
left a comment
There was a problem hiding this comment.
This is testing nicely for me, resolves the issue in Twenty Twenty, and I didn't notice any regressions or other issues when testing with a range of random themes from the theme directory.
LGTM! ✨
ramonjd
left a comment
There was a problem hiding this comment.
|
Thanks for the reviews folks! |
|
Appreciate the quick fix and reviews everyone, nice work! 🙇 |
Co-authored-by: tellthemachines <isabel_brison@git.wordpress.org> Co-authored-by: andrewserong <andrewserong@git.wordpress.org> Co-authored-by: ramonjd <ramonopoly@git.wordpress.org> Co-authored-by: arthur791004 <arthur791004@git.wordpress.org>




What?
Fixes bug introduced in #60154 and reported here. Themes relying on this rule for editor styles might have seen some inadvertent changes with the specificity reduction.
Testing Instructions
Note: in testing this I noticed that the auto margin rule is causing a discrepancy between editor and front-end in the Details block on both Twenty Twenty and TT1, but that's likely due to those themes not having targeted styles for that block such as they do for older blocks like Columns. It remains an issue regardless of the specificity of this rule, so shouldn't be a blocker for this PR.
Testing Instructions for Keyboard
Screenshots or screencast