Make WordPress Core

Changeset 28227


Ignore:
Timestamp:
05/01/2014 04:25:47 AM (13 years ago)
Author:
nacin
Message:

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

Merges [28184] to the 3.9 branch.

props wonderboymusic.
fixes #27893.

Location:
branches/3.9
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.9

  • branches/3.9/src/wp-includes/js/mediaelement/wp-mediaelement.css

    r28023 r28227  
    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
  • branches/3.9/src/wp-includes/media-template.php

    r28144 r28227  
    854854
    855855                                <label class="setting checkbox-setting">
     856                                        <input type="checkbox" data-setting="autoplay" />
    856857                                        <span><?php _e( 'Autoplay' ); ?></span>
    857                                         <input type="checkbox" data-setting="autoplay" />
    858858                                </label>
    859859
    860860                                <label class="setting checkbox-setting">
     861                                        <input type="checkbox" data-setting="loop" />
    861862                                        <span><?php _e( 'Loop' ); ?></span>
    862                                         <input type="checkbox" data-setting="loop" />
    863863                                </label>
    864                                 <div class="clear"></div>
    865864                        </div>
    866865                </div>
    … …  
    945944
    946945                                <label class="setting checkbox-setting">
     946                                        <input type="checkbox" data-setting="autoplay" />
    947947                                        <span><?php _e( 'Autoplay' ); ?></span>
    948                                         <input type="checkbox" data-setting="autoplay" />
    949948                                </label>
    950949
    951950                                <label class="setting checkbox-setting">
     951                                        <input type="checkbox" data-setting="loop" />
    952952                                        <span><?php _e( 'Loop' ); ?></span>
    953                                         <input type="checkbox" data-setting="loop" />
    954953                                </label>
    955                                 <div class="clear"></div>
    956954
    957955                                <label class="setting" data-setting="content">
Note: See TracChangeset for help on using the changeset viewer.