Make WordPress Core

Changeset 22983


Ignore:
Timestamp:
12/03/2012 04:15:32 AM (12 years ago)
Author:
nacin
Message:

Media: Prevent the compat view from wrapping around the attachment details. Allow the filename to break-word. props koopersmith, SergeyBiryukov. fixes #22667.

Location:
trunk/wp-includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/css/media-views-rtl.css

    r22960 r22983  
    259259}
    260260
    261 .attachment-info .details,
    262 .attachment-info .compat-meta {
     261.attachment-info .details {
    263262    float: right;
    264263}
  • trunk/wp-includes/css/media-views.css

    r22979 r22983  
    11741174    font-weight: bold;
    11751175    color: #464646;
     1176    word-wrap: break-word;
    11761177}
    11771178
     
    12171218    float: left;
    12181219    font-size: 12px;
    1219 }
    1220 
    1221 .attachment-info .compat-meta {
    1222     float: left;
     1220    max-width: 100%;
    12231221}
    12241222
  • trunk/wp-includes/media.php

    r22979 r22983  
    16861686                    </div>
    16871687                <# } #>
    1688             </div>
    1689             <div class="compat-meta">
    1690                 <# if ( data.compat && data.compat.meta ) { #>
    1691                     {{{ data.compat.meta }}}
    1692                 <# } #>
     1688                <div class="compat-meta">
     1689                    <# if ( data.compat && data.compat.meta ) { #>
     1690                        {{{ data.compat.meta }}}
     1691                    <# } #>
     1692                </div>
    16931693            </div>
    16941694        </div>
Note: See TracChangeset for help on using the changeset viewer.