-
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
Fix: Invert gallery gravity. #29367
Fix: Invert gallery gravity. #29367
Conversation
On a separate note, I recall working on this back in the day. Due to the use of flex, it was hard to get the gallery to work with IE11, and I hazily recall this bottom alignment being related to that. So it would be good to sanity check the gallery both before and after this change, in IE11. |
Size Change: +28 B (0%) Total Size: 1.39 MB
ℹ️ View Unchanged
|
It might also be worth considering if people might be relying on this default already. |
@scruffian @MaggieCabrera @kjellr do would you have any insights in whether people might rely on the current behavior? Thank you for looking. |
As far as I know this change looks good. |
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 👍
I'm cool with merging this PR, looks good 👍 |
Thank you for the review! Grid could potentially be a variation? |
Sure, it could be... Of course not related to this PR, just food for thought 😄 |
It's possible, but unlikely. The bottom-alignment always seemed like it was a bug to me. Glad to see this land. 🙌 |
Description
Fixes #29316. Uncropped images fell to the floor. This PR let's them reach for the stars. They may not catch any, but they won't end up with a handful of mud either.
How has this been tested?
Insert a gallery with varying image sizes, then untoggle the crop feature.
Screenshots
Before:
After:
Checklist: