Make WordPress Core

Changeset 28184 for trunk


Ignore:
Timestamp:
04/22/2014 08:28:35 PM (10 years ago)
Author:
wonderboymusic
Message:

Alter the layout of the checkboxes in the modal view for Audio/Video Details to allow translations more room to breathe.

See #27893.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/mediaelement/wp-mediaelement.css

    r28174 r28184  
    2727    max-width: 400px;
    2828    width: auto;
     29}
     30
     31.media-embed-details .embed-media-settings .checkbox-setting span {
     32    display: inline-block;
    2933}
    3034
     
    5155
    5256.media-embed-details .embed-media-settings .checkbox-setting {
    53     width: 100px;
    54     clear: none;
     57    float: none;
     58    margin: 0 0 10px;
    5559}
    5660
  • trunk/src/wp-includes/media-template.php

    r28182 r28184  
    855855
    856856                <label class="setting checkbox-setting">
     857                    <input type="checkbox" data-setting="autoplay" />
    857858                    <span><?php _e( 'Autoplay' ); ?></span>
    858                     <input type="checkbox" data-setting="autoplay" />
    859859                </label>
    860860
    861861                <label class="setting checkbox-setting">
     862                    <input type="checkbox" data-setting="loop" />
    862863                    <span><?php _e( 'Loop' ); ?></span>
    863                     <input type="checkbox" data-setting="loop" />
    864864                </label>
    865                 <div class="clear"></div>
    866865            </div>
    867866        </div>
     
    946945
    947946                <label class="setting checkbox-setting">
     947                    <input type="checkbox" data-setting="autoplay" />
    948948                    <span><?php _e( 'Autoplay' ); ?></span>
    949                     <input type="checkbox" data-setting="autoplay" />
    950949                </label>
    951950
    952951                <label class="setting checkbox-setting">
     952                    <input type="checkbox" data-setting="loop" />
    953953                    <span><?php _e( 'Loop' ); ?></span>
    954                     <input type="checkbox" data-setting="loop" />
    955954                </label>
    956                 <div class="clear"></div>
    957955
    958956                <label class="setting" data-setting="content">
Note: See TracChangeset for help on using the changeset viewer.