-
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
Media & Text Block: Fix the "Crop image to fill entire column" option #20439
Conversation
Size Change: -1 B Total Size: 864 kB
ℹ️ View Unchanged
|
Is there any information as to what caused the bug? |
@obenland, I believe it was introduced in #18347. You can see there, that the class name used for the |
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.
Tested it with vertical and horizontal images and it works as expected now. I also made sure that the bug that was previously fixed is still fixed.
…#20439) * Use correct class name for media container element * Rename media container class name for consistency
…#20439) * Use correct class name for media container element * Rename media container class name for consistency
Description
Closes: #20434
How has this been tested?
Media & Text
block to any page,Crop image to fill entire column
option in the block settings panel on the right,Focal Point Picker
option should work as expected.Screenshots
Before the fix:
After the fix, image fills the column:
After the fix,
Focal Point Picker
works as expected:After the fix, page view:
Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist: