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.

Built from https://develop.svn.wordpress.org/trunk@33101


git-svn-id: http://core.svn.wordpress.org/trunk@33072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2015-07-07 00:09:24 +00:00
parent c9027b00ba
commit df220685a0
6 changed files with 10 additions and 5 deletions

View File

@ -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;

View File

@ -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;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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;
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-beta1-33100';
$wp_version = '4.3-beta1-33101';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.