mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
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:
parent
821f9f40ec
commit
db0b378f94
@ -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
Loading…
x
Reference in New Issue
Block a user