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

Props michalzuber.
See #24716.


git-svn-id: https://develop.svn.wordpress.org/trunk@29067 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-07-10 17:30:35 +00:00
parent b11d095c7d
commit e91f5a7601
2 changed files with 5 additions and 1 deletions

View File

@ -1114,6 +1114,10 @@ video#inline-media-node {
margin-right: 0.5em;
}
.attachments-browser .no-media {
padding: 2em 0 0 2em;
}
/**
* Progress Bar
*/

View File

@ -5717,7 +5717,7 @@
controller: this.controller
});
this.attachmentsNoResults.$el.addClass( 'hidden' );
this.attachmentsNoResults.$el.addClass( 'hidden no-media' );
this.attachmentsNoResults.$el.html( 'No media found.' );
this.views.add( this.attachmentsNoResults );