From a8dd83ce106eb53c7d37db8a36092c5c55ba355a Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 11 Oct 2012 20:10:47 +0000 Subject: [PATCH] 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 --- wp-content/themes/twentyeleven/style.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentyeleven/style.css b/wp-content/themes/twentyeleven/style.css index 9f6f1caf8a..f78fdddba2 100644 --- a/wp-content/themes/twentyeleven/style.css +++ b/wp-content/themes/twentyeleven/style.css @@ -962,12 +962,15 @@ a:active img[class*="wp-image-"], border-color: #ddd; } -/* Make sure embeds and iframes fit their containers */ +/* Make sure videos and embeds fit their containers */ embed, iframe, object { max-width: 100%; } +.entry-content .twitter-tweet-rendered { + max-width: 100% !important; /* Override the Twitter embed fixed width */ +} /* Password Protected Posts */ .post-password-required .entry-header .comments-link {