Make sure embeds and iframes fit their containers in Twenty Eleven. props matveb, fixes #18941.

git-svn-id: https://develop.svn.wordpress.org/trunk@19291 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2011-11-15 02:16:58 +00:00
parent 5ca57a6fac
commit 2ad89eb3ce

View File

@@ -956,6 +956,13 @@ a:active img[class*="wp-image-"],
border-color: #ddd;
}
/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
max-width: 100%;
}
/* Password Protected Posts */
.post-password-required .entry-header .comments-link {
margin: 1.625em 0 0;
@@ -2348,11 +2355,6 @@ p.comment-form-comment {
margin-right: 0;
width: auto;
}
/* Make sure embeds fit their containers */
embed,
object {
max-width: 100%;
}
}
@media (max-width: 650px) {