mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
Media Grid, add padding to "No Media Found" message.
Props michalzuber. See #24716. Built from https://develop.svn.wordpress.org/trunk@29067 git-svn-id: http://core.svn.wordpress.org/trunk@28853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d297258d99
commit
7f4716e1c3
@ -1114,6 +1114,10 @@ video#inline-media-node {
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
|
||||
.attachments-browser .no-media {
|
||||
padding: 2em 2em 0 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Progress Bar
|
||||
*/
|
||||
|
2
wp-includes/css/media-views-rtl.min.css
vendored
2
wp-includes/css/media-views-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1114,6 +1114,10 @@ video#inline-media-node {
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
.attachments-browser .no-media {
|
||||
padding: 2em 0 0 2em;
|
||||
}
|
||||
|
||||
/**
|
||||
* Progress Bar
|
||||
*/
|
||||
|
2
wp-includes/css/media-views.min.css
vendored
2
wp-includes/css/media-views.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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 );
|
||||
|
2
wp-includes/js/media-views.min.js
vendored
2
wp-includes/js/media-views.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user