Make WordPress Core

Changeset 21408


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

Twenty Twelve: make sure embeds and videos don't overflow their containers, and add iframe styles to all embeds, videos, and objects. Fixes #21382.

Props chriswallace and obenland for troubleshooting.

File:
1 edited

Legend:

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

    r21407 r21408  
    288288}
    289289
    290 /* Media */
     290/* Make sure videos and embeds fit their containers */
    291291embed,
     292iframe,
    292293object,
    293294video {
     
    854855    margin-bottom: 0.857142857rem;
    855856}
    856 .entry-content iframe {
     857.entry-content embed,
     858.entry-content iframe,
     859.entry-content object,
     860.entry-content video {
    857861    margin-bottom: 24px;
    858862    margin-bottom: 1.714285714rem;
Note: See TracChangeset for help on using the changeset viewer.