[wp-trac] [WordPress Trac] #62597: WordPress 6.7 sizes="auto" is messing featured image on chrome mobile.

WordPress Trac noreply at wordpress.org
Thu Nov 28 09:30:37 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                   |   Keywords:
  Focuses:  ui, css, administration  |
-------------------------------------+-----------------------------
 WordPress 6.7 added sizes=”auto” for some images.
 In wp-admin on chrome when we have the classic editor plugin active the
 featured image is "squashed".
 This seems to be the issues with css rule `height: auto` for
 `#postimagediv .inside img` which cannot be simply overriden, it needs to
 be deleted to fix the issue.

 The easiest way to reproduce is to set featured image to any square image.

 [[Image(https://i.postimg.cc/4457NnhX/obraz.png)]]
 [[Image(https://i.postimg.cc/TPgh8P6M/obraz.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62597>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list