diff --git a/src/wp-admin/css/list-tables.css b/src/wp-admin/css/list-tables.css index 00a6d8c4a055f..2976d2f9821e7 100644 --- a/src/wp-admin/css/list-tables.css +++ b/src/wp-admin/css/list-tables.css @@ -552,6 +552,28 @@ th.asc a:focus span.sorting-indicator:before { content: "\f142"; } +.check-column { + position: relative; +} + +.check-column .label-covers-full-cell { + width: 100%; + height: 100%; + display: block; + position: absolute; + top: 0; + left: 0; +} + +.check-column .label-covers-full-cell input { + position: relative; + z-index: 1; +} + +.check-column .label-covers-full-cell:hover + input { + box-shadow: 0 0 0 1px #2271b1; +} + .locked-indicator { display: none; margin-left: 6px; diff --git a/src/wp-admin/includes/class-wp-comments-list-table.php b/src/wp-admin/includes/class-wp-comments-list-table.php index 176b16718a1fb..c7dfcc61597e0 100644 --- a/src/wp-admin/includes/class-wp-comments-list-table.php +++ b/src/wp-admin/includes/class-wp-comments-list-table.php @@ -884,11 +884,13 @@ public function column_cb( $item ) { if ( $this->user_can ) { ?> -