WordPress.org

Make WordPress Core

Changeset 22876


Ignore:
Timestamp:
11/27/2012 07:14:36 PM (5 years ago)
Author:
nacin
Message:

Media: IE fixes for attachment selections. props lessbloat. see #22446.

File:
1 edited

Legend:

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

    r22875 r22876  
    477477    color: #464646;
    478478    list-style: none;
     479    text-align: center;
    479480
    480481    -webkit-user-select: none;
     
    508509}
    509510
    510 .attachment .icon,
     511.attachment .icon {
     512    margin: 0 auto;
     513    overflow: hidden;
     514    padding-top: 20%;
     515}
     516
    511517.attachment .thumbnail {
    512518    display: block;
     
    518524    max-width: 100%;
    519525    max-height: 100%;
    520 }
    521 
    522 /* Vertically center the icons. */
    523 .attachment .icon {
    524     top: 50%;
    525     left: 50%;
    526526}
    527527
     
    556556}
    557557
    558 .attachment .icon,
    559558.attachment .thumbnail .centered img {
    560559    -webkit-transform: translate( -50%, -50% );
     
    10251024.media-selection .attachments {
    10261025    display: inline-block;
    1027     height: 60px;
     1026    height: 48px;
    10281027    margin-top: 5px;
    10291028    overflow: hidden;
    10301029    vertical-align: top;
     1030}
     1031
     1032.media-selection .attachment img {
     1033    width: 50%;
    10311034}
    10321035
Note: See TracChangeset for help on using the changeset viewer.