Make WordPress Core

Changeset 59778


Ignore:
Timestamp:
02/07/2025 04:15:07 PM (10 months ago)
Author:
joemcgill
Message:

Post Thumbnails: Fix squashed featured image in wp-admin.

This updates the CSS for featured images in the classic editor that caused images to look skewed when auto-sizes are enabled.

Reviewed by jorbin.
Merges [59773] to the 6.7 branch.

Props maciejmackowiak, sainathpoojary, mukesh27, joemcgill.
Fixes #62597.

Location:
branches/6.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.7

  • branches/6.7/src/wp-admin/css/edit.css

    r59188 r59778  
    309309    max-width: 100%;
    310310    height: auto;
    311     width: auto;
    312311    vertical-align: top;
    313312    background-image: linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7);
Note: See TracChangeset for help on using the changeset viewer.