Opened 3 years ago
Closed 3 years ago
#55379 closed defect (bug) (duplicate)
Issue with images since 5.9.1 - persists in 5.9.2. Please remove this css code as described here on the next wordpress version. Thanks
Reported by: | seamlessdigital | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.9.1 |
Component: | Media | Keywords: | |
Focuses: | css | Cc: |
Description
Since the update lots of site broke due to this change from core wordpress code:
html :where(img){ height: auto; max-width: 100% }
that was added to
wp-includes/css/dist/block-library/style.min.css
.
Since then lots of site broke with images looking extremely large. I've already reported this here: https://wordpress.org/support/topic/wordpress-image-issue-on-v5-9-1/#post-15415040 but this has been frustrating.
Lots of sites especially legacy sites were broken due to this addition and we had to fix them twice, we've added them also a patch but that's not a good solution. Can you please remove this piece of css code on your next wordpress version release? Thanks.
Change History (1)
Note: See
TracTickets for help on using
tickets.
@seamlessdigital Welcome to WordPress Core Trac, and thanks for the ticket! This is already being tracked in #55229. Closing this ticket in favor of the work already in progress there.