Make WordPress Core

Opened 5 years ago

#54452 new enhancement

Image Aspect Ratio on resize

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

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 5 years ago.

Download all attachments as: .zip

Change History (1)

Note: See TracTickets for help on using tickets.