mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 15:17:42 +02:00
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:
parent
0b626ffea2
commit
7acfb7740b
@ -1798,11 +1798,18 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.embed-preview img, .embed-preview iframe, .embed-preview embed {
|
.embed-preview img,
|
||||||
|
.embed-preview iframe,
|
||||||
|
.embed-preview embed {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.embed-preview a {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
.embed-preview img {
|
.embed-preview img {
|
||||||
|
display: block;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
wp-includes/css/media-views-rtl.min.css
vendored
2
wp-includes/css/media-views-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1798,11 +1798,18 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.embed-preview img, .embed-preview iframe, .embed-preview embed {
|
.embed-preview img,
|
||||||
|
.embed-preview iframe,
|
||||||
|
.embed-preview embed {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.embed-preview a {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
.embed-preview img {
|
.embed-preview img {
|
||||||
|
display: block;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
wp-includes/css/media-views.min.css
vendored
2
wp-includes/css/media-views.min.css
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user