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
Try: Fix regression with featured images in latest posts. #40662
Conversation
Size Change: +43 B (0%) Total Size: 1.23 MB
ℹ️ View Unchanged
|
Here's a mostly cosmetic companion PR: #40663 |
This PR solves the positioning visually, but solving it also introduces an issue that is already present in the editor. |
Indeed, the order is all wrong in that setup. However given that issue is already present in the editor, and this PR just fixes the regression where floats didn't work at all, should it not land as a fix to that regression? |
To elaborate a bit, I'm fixing this as a regression due to a report where a theme relied on this float rule being present, which is missing as of #38657. It seems to fix the tab-order issue we'd need a separate PR and/or issue. |
Thank you. Do you know if the issue you reported is ticketed? Otherwise I'm happy to open one. |
CC: @Mamaduka should we backport this one? |
Thanks for the ping, @jasmussen. |
Created a ticket here: #40686 |
I'm adding a backport label for now so this comes up during the triage tomorrow. |
I cherry picked this change into |
👋 I was the one who initially pointed this bug out to Joen, and also just noticed that left alignment is broken not only on the front end, but also in the template editor, but strangely not the page editor. Testing Instructions
|
What?
The Latest Posts block has an option to float featured images left and right:
In the editor, this works:
On the frontend, as of #38657, it doesnt, because the float rule is missing:
This PR restores the float rule, but just for the latest posts block.
Testing Instructions