WordPress.org

Make WordPress Core

Ticket #24716: 24716.41.diff

File 24716.41.diff, 954 bytes (added by michalzuber, 4 years ago)

Pad No media message http://i.imgur.com/2PYZDLb.png

  • src/wp-includes/css/media-views.css

     
    11141114        margin-right: 0.5em;
    11151115}
    11161116
     1117.attachments-browser .no-media {
     1118        padding: 2em 0 0 2em;
     1119}
     1120
    11171121/**
    11181122 * Progress Bar
    11191123 */
  • src/wp-includes/js/media-views.js

     
    57465746                                controller: this.controller
    57475747                        });
    57485748
    5749                         this.attachmentsNoResults.$el.addClass( 'hidden' );
    5750                         this.attachmentsNoResults.$el.html( 'No media found.' );
     5749                        this.attachmentsNoResults.$el.addClass( 'hidden no-media' );
     5750                        this.attachmentsNoResults.$el.html( 'No media attachments found.' );
    57515751
    57525752                        this.views.add( this.attachmentsNoResults );
    57535753