Make WordPress Core

Changeset 29055


Ignore:
Timestamp:
07/10/2014 01:44:20 AM (10 years ago)
Author:
helen
Message:

Better styling for the larger image preview in the attachment details modal. Portrait images still have problems in Firefox due to percentage height. props mikeyarce for the initial patch. see #28800, #24716.

File:
1 edited

Legend:

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

    r29053 r29055  
    26792679    top: 0;
    26802680    left: 0;
     2681    right: 50%;
    26812682    margin-bottom: 0;
    2682     padding: 2% 4%;
    2683     right: 50%;
     2683    padding: 2% 4% 0;
     2684    height: 98%; /* 100% - padding percentage above */
    26842685}
    26852686
    26862687.edit-attachment-frame .attachment-info .thumbnail {
     2688    float: none;
    26872689    max-width: none;
    2688     max-height: none;
     2690    max-height: 70%;
     2691    margin-right: 0;
    26892692}
    26902693
     
    26992702
    27002703.edit-attachment-frame .attachment-info .thumbnail img {
    2701     max-width: none;
    2702     max-height: 50%;
     2704    max-width: 100%;
     2705    max-height: 100%;
    27032706}
    27042707
Note: See TracChangeset for help on using the changeset viewer.