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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)