Make WordPress Core

Opened 2 months ago

#54452 new enhancement

Image Aspect Ratio on resize

Reported by: edgarwes Owned by:
Milestone: Awaiting Review Priority: normal
Severity: trivial Version: 5.8.2
Component: Media Keywords: needs-patch
Focuses: ui, css Cc:

Description

With the picture block the css resize the picture width but never the height so it break is aspect ratio.

Just need to add a height: auto to .wp-block-image img .

Attachments (1)

inline.css (58 bytes) - added by edgarwes 2 months ago.

Download all attachments as: .zip

Change History (1)

@edgarwes
2 months ago

Note: See TracTickets for help on using tickets.