Make WordPress Core

Changeset 22196


Ignore:
Timestamp:
10/11/2012 08:10:47 PM (12 years ago)
Author:
lancewillett
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/style.css

    r22195 r22196  
    963963}
    964964
    965 /* Make sure embeds and iframes fit their containers */
     965/* Make sure videos and embeds fit their containers */
    966966embed,
    967967iframe,
    968968object {
    969969    max-width: 100%;
     970}
     971.entry-content .twitter-tweet-rendered {
     972    max-width: 100% !important; /* Override the Twitter embed fixed width */
    970973}
    971974
Note: See TracChangeset for help on using the changeset viewer.