Editor: fit images
Fixes #31253. Built from https://develop.svn.wordpress.org/trunk@33417 git-svn-id: http://core.svn.wordpress.org/trunk@33385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ba900970f7
commit
8830708379
|
@ -75,8 +75,19 @@ img.emoji {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
height: auto;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-caption {
|
.wp-caption {
|
||||||
margin: 0;
|
margin: 0; /* browser reset */
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* iOS does not obey max-width if width is set. */
|
||||||
|
.ios .wp-caption {
|
||||||
|
width: auto !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-caption img {
|
.wp-caption img {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.3-beta4-33416';
|
$wp_version = '4.3-beta4-33417';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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