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:
parent
83330267af
commit
e9be1d8344
|
@ -956,6 +956,13 @@ a:active img[class*="wp-image-"],
|
||||||
border-color: #ddd;
|
border-color: #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Make sure embeds and iframes fit their containers */
|
||||||
|
embed,
|
||||||
|
iframe,
|
||||||
|
object {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
/* Password Protected Posts */
|
/* Password Protected Posts */
|
||||||
.post-password-required .entry-header .comments-link {
|
.post-password-required .entry-header .comments-link {
|
||||||
margin: 1.625em 0 0;
|
margin: 1.625em 0 0;
|
||||||
|
@ -2348,11 +2355,6 @@ p.comment-form-comment {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
/* Make sure embeds fit their containers */
|
|
||||||
embed,
|
|
||||||
object {
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@media (max-width: 650px) {
|
@media (max-width: 650px) {
|
||||||
|
|
Loading…
Reference in New Issue