Plugin install: Improve styling of the no results message.
see #28753. git-svn-id: https://develop.svn.wordpress.org/trunk@29359 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bcb49d44ab
commit
a2a3e10f66
@ -1028,6 +1028,15 @@ th.action-links {
|
|||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wp-filter-no-results {
|
||||||
|
color: #999;
|
||||||
|
font-size: 18px;
|
||||||
|
font-style: normal;
|
||||||
|
margin: 0;
|
||||||
|
padding: 100px 0 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-filter-drawer-toggle {
|
.wp-filter-drawer-toggle {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
|
@ -187,7 +187,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function no_items() {
|
public function no_items() {
|
||||||
_e( 'No plugins match your request.' );
|
echo '<div class="wp-filter-no-results">' . __( 'No plugins match your request.' ) . '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function get_views() {
|
protected function get_views() {
|
||||||
|
Loading…
Reference in New Issue
Block a user