Twenty Eleven: add rule to force override the fixed width for Twitter embeds. Props kovshenin, fixes #21680; see also r21637.

git-svn-id: http://core.svn.wordpress.org/trunk@22196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2012-10-11 20:10:47 +00:00
parent c4368c8a23
commit a8dd83ce10
1 changed files with 4 additions and 1 deletions

View File

@ -962,12 +962,15 @@ a:active img[class*="wp-image-"],
border-color: #ddd; border-color: #ddd;
} }
/* Make sure embeds and iframes fit their containers */ /* Make sure videos and embeds fit their containers */
embed, embed,
iframe, iframe,
object { object {
max-width: 100%; max-width: 100%;
} }
.entry-content .twitter-tweet-rendered {
max-width: 100% !important; /* Override the Twitter embed fixed width */
}
/* Password Protected Posts */ /* Password Protected Posts */
.post-password-required .entry-header .comments-link { .post-password-required .entry-header .comments-link {