In the admin, give media list table icons auto for width and height. In the post thumbnail metabox, apply width: auto.
If someone turns on support SVG files, this will allow them to show up. Props arippberger for an initial patch. Fixes #26256. Built from https://develop.svn.wordpress.org/trunk@29832 git-svn-id: http://core.svn.wordpress.org/trunk@29596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1967,6 +1967,8 @@ td.media-icon {
|
||||
td.media-icon img {
|
||||
max-width: 80px;
|
||||
max-height: 60px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
td.image-icon img {
|
||||
|
||||
@@ -1967,6 +1967,8 @@ td.media-icon {
|
||||
td.media-icon img {
|
||||
max-width: 80px;
|
||||
max-height: 60px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
td.image-icon img {
|
||||
|
||||
@@ -290,6 +290,7 @@ ul.wp-tab-bar li {
|
||||
#postimagediv .inside img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
form#tags-filter {
|
||||
|
||||
@@ -290,6 +290,7 @@ ul.wp-tab-bar li {
|
||||
#postimagediv .inside img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
form#tags-filter {
|
||||
|
||||
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user