Skip to content

Commit df2d403

Browse files
committed
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. git-svn-id: https://develop.svn.wordpress.org/branches/6.7@59778 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 1c7e99e commit df2d403

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/wp-admin/css/edit.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,6 @@ ul.wp-tab-bar li {
308308
#postimagediv .inside img {
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);
314313
background-position: 0 0, 10px 10px;

0 commit comments

Comments
 (0)