Make WordPress Core

Changeset 40428


Ignore:
Timestamp:
04/14/2017 09:30:37 AM (7 years ago)
Author:
swissspidy
Message:

Media: Ensure Crop Image is always visible.

Previously, the crop button in the media modal after uploading header images or similar was hidden and the task could not be completed.

Props karinedo, sagarprajapati, Cybr, mayurk.
Fixes #40152.

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

Legend:

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

    r40059 r40428  
    412412    }
    413413
     414    .media-modal-content .media-toolbar-primary .media-button {
     415        margin-top: 10px;
     416        margin-left: 5px;
     417    }
     418
    414419    /* Reset responsive styles on Log in button on iframed login form */
    415420
  • trunk/src/wp-includes/css/media-views.css

    r40359 r40428  
    243243}
    244244
    245 .media-modal-content .attachments-browser .media-toolbar-secondary {
    246     width: 66%;
    247 }
    248 
    249 .media-modal-content .media-toolbar-primary.search-form {
    250     width: 33%;
    251 }
    252 
    253245.media-modal-content .media-toolbar-primary .media-button {
    254246    float: right;
     
    278270    border: 0 solid #ddd;
    279271    overflow: hidden;
     272}
     273
     274.media-frame-toolbar .media-toolbar {
     275    top: initial;
     276    bottom: -45px;
     277    height: auto;
     278    overflow: initial;
     279    border-top: 1px solid #ddd;
     280}
     281
     282@media screen and (max-width: 782px) {
     283    .media-frame-toolbar .media-toolbar {
     284        bottom: -48px;
     285    }
    280286}
    281287
     
    687693    background: #fff;
    688694    border-top: 1px solid #ddd;
    689     border-bottom: 1px solid #ddd;
    690695}
    691696
     
    697702    height: 60px;
    698703    z-index: 100;
     704    bottom: 60px;
     705    height: auto;
    699706}
    700707
Note: See TracChangeset for help on using the changeset viewer.