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

git-svn-id: http://svn.automattic.com/wordpress/trunk@19291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2011-11-15 02:16:58 +00:00
parent 83330267af
commit e9be1d8344
1 changed files with 7 additions and 5 deletions

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) {