-
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
Query loop block: Wide alignment not working correctly on the editor #33248
Comments
This is still happening in WordPress 5.8.1+Gutenberg 10.6 and it came up in the tenth call for testing for the FSE Outreach program:
bmiFWj.mp4 |
I'm adding this to the 5.9 must-haves because alignment tools are one of the top features in this release, and one of the most prominent pieces of feedback received during the Go/No Go demo was to ensure editor<->frontend parity as much as possible. |
Adding a few more details from the duplicate issue #35551: This only happens in the post/page editor — I'm unable to reproduce in the Site Editor. If a Query Loop block uses layout settings, the non-selected posts in the list incorrectly inherit the following rule:
This leads to any non-selected post appearing incorrectly. Screenshots: |
When |
Description
While using wide alignment on a Query block the width is only applied to the currently selected post while in the editor. The frontend shows the correct alignment for all posts
Step-by-step reproduction instructions
Expected behaviour
I expected all posts inside the query block to show as wide aligned within the editor
Actual behaviour
Only the first (selected) post shows as wide, the rest show no alignment. The frontend shows them all as wide.
Screenshots or screen recording (optional)
The text was updated successfully, but these errors were encountered: