[wp-trac] [WordPress Trac] #58732: WordPress Gallery Block: Column Count Issue Results in Unbalanced Item Widths
WordPress Trac
noreply at wordpress.org
Thu Jul 6 14:12:58 UTC 2023
#58732: WordPress Gallery Block: Column Count Issue Results in Unbalanced Item
Widths
-------------------------------+------------------------------
Reporter: sarath.ar | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 5.0
Severity: normal | Resolution:
Keywords: close 2nd-opinion | Focuses:
-------------------------------+------------------------------
Changes (by sabernhardt):
* keywords: => close 2nd-opinion
* version: trunk => 5.0
* component: General => Editor
Comment:
Thanks for the report!
GB2422 added `flex-grow: 1` to the Gallery block's "Crop images" setting.
The resizing may be unexpected the first time, but anyone who has used the
block that way probably expects it now. Related: GB2465
If the crop setting is good otherwise, I was able to keep the images the
same size with this custom CSS:
{{{
.wp-block-gallery.has-nested-images figure.wp-block-image {
flex-grow: 0;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58732#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list