Editor: fit images

Fixes #31253.


git-svn-id: https://develop.svn.wordpress.org/trunk@33417 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ella Iseulde Van Dorpe 2015-07-25 22:43:46 +00:00
parent b8bc5ed95d
commit eef42f591f
1 changed files with 12 additions and 1 deletions

View File

@ -75,8 +75,19 @@ img.emoji {
text-align: center;
}
img {
height: auto;
max-width: 100%;
}
.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 {