In the `Insert From URL` state of the `Post` frame, add the necessary CSS for focus styles for images.

Example image to insert: https://flic.kr/p/rnsm5M 

See #28820.

Built from https://develop.svn.wordpress.org/trunk@31585


git-svn-id: http://core.svn.wordpress.org/trunk@31566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-02-27 22:13:27 +00:00
parent 0b626ffea2
commit 7acfb7740b
5 changed files with 19 additions and 5 deletions

View File

@ -1798,11 +1798,18 @@
overflow: auto;
}
.embed-preview img, .embed-preview iframe, .embed-preview embed {
.embed-preview img,
.embed-preview iframe,
.embed-preview embed {
max-width: 100%;
}
.embed-preview a {
display: inline-block;
}
.embed-preview img {
display: block;
height: auto;
}

File diff suppressed because one or more lines are too long

View File

@ -1798,11 +1798,18 @@
overflow: auto;
}
.embed-preview img, .embed-preview iframe, .embed-preview embed {
.embed-preview img,
.embed-preview iframe,
.embed-preview embed {
max-width: 100%;
}
.embed-preview a {
display: inline-block;
}
.embed-preview img {
display: block;
height: auto;
}

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-alpha-31584';
$wp_version = '4.2-alpha-31585';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.