List tables: Account for comments being reused on the post edit screen.
Adding the `.wp-list-table` class gets us a few responsive goodies for free. And now it won't show a strange button outline. see #32395. git-svn-id: https://develop.svn.wordpress.org/trunk@33101 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
dabe7ab9c3
commit
6d8f6f8d11
|
@ -1903,11 +1903,13 @@ div.action-links,
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Plugin/Theme Management Page */
|
||||
/* List tables that don't toggle rows */
|
||||
.comments-box .toggle-row,
|
||||
.wp-list-table.plugins .toggle-row {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Plugin/Theme Management */
|
||||
#wpbody-content .wp-list-table.plugins td {
|
||||
display: block;
|
||||
width: auto;
|
||||
|
|
|
@ -747,6 +747,7 @@ class WP_Post_Comments_List_Table extends WP_Comments_List_Table {
|
|||
*/
|
||||
protected function get_table_classes() {
|
||||
$classes = parent::get_table_classes();
|
||||
$classes[] = 'wp-list-table';
|
||||
$classes[] = 'comments-box';
|
||||
return $classes;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue