Make WordPress Core

Changeset 29067


Ignore:
Timestamp:
07/10/2014 05:30:35 PM (10 years ago)
Author:
wonderboymusic
Message:

Media Grid, add padding to "No Media Found" message.

Props michalzuber.
See #24716.

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

Legend:

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

    r29065 r29067  
    11131113    color: #666;
    11141114    margin-right: 0.5em;
     1115}
     1116
     1117.attachments-browser .no-media {
     1118    padding: 2em 0 0 2em;
    11151119}
    11161120
  • trunk/src/wp-includes/js/media-views.js

    r29066 r29067  
    57185718            });
    57195719
    5720             this.attachmentsNoResults.$el.addClass( 'hidden' );
     5720            this.attachmentsNoResults.$el.addClass( 'hidden no-media' );
    57215721            this.attachmentsNoResults.$el.html( 'No media found.' );
    57225722
Note: See TracChangeset for help on using the changeset viewer.