[wp-trac] [WordPress Trac] #62597: WordPress 6.7 sizes="auto" is messing featured image on chrome mobile.
WordPress Trac
noreply at wordpress.org
Fri Nov 29 03:57:57 UTC 2024
#62597: WordPress 6.7 sizes="auto" is messing featured image on chrome mobile.
-------------------------------------+-------------------------------------
Reporter: maciejmackowiak | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Post Thumbnails | Version: 6.7
Severity: normal | Resolution:
Keywords: has-patch has-testing- | Focuses: ui, css,
info has-screenshots | administration
-------------------------------------+-------------------------------------
Comment (by mukesh27):
Hi there, Thanks for ticket.
Instead of removing the CSS we should add CSS that we added in frontend in
[59415]
{{{
img:is([sizes="auto" i], [sizes^="auto," i]) {
contain-intrinsic-size: 3000px 1500px;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62597#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list