From aae7da1a8f9c8fe0c30ea43083d8dfdfc8e599fe Mon Sep 17 00:00:00 2001 From: Khokan Sardar Date: Thu, 30 Jul 2026 18:48:28 +0530 Subject: [PATCH] Administration: Fix responsive list table toggle-row positioning. [62838] moved `scope="row"` to the primary column, making it a `th`. Two selectors in the max-width: 782px block still only matched `td`, so the primary cell lost its positioning context and the absolutely positioned `.toggle-row` button escaped to `#wpbody`, overlapping the Help and Screen Options tabs and stealing their clicks. Expanded rows also failed to stack, and the checkbox cell was incorrectly switched to `display: block`. Follow-up to [62838]. Props khokansardar. See #32892. Fixes #65763. --- src/wp-admin/css/list-tables.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/css/list-tables.css b/src/wp-admin/css/list-tables.css index 46c2002e3e3a1..b1f89bf70778d 100644 --- a/src/wp-admin/css/list-tables.css +++ b/src/wp-admin/css/list-tables.css @@ -1939,7 +1939,8 @@ div.action-links, display: block; } - .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) { + .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column), + .wp-list-table tbody tr:not(.inline-edit-row):not(.no-items) th:not(.check-column) { position: relative; clear: both; width: auto !important; /* needs to override some columns that are more specifically targeted */ @@ -1966,7 +1967,8 @@ div.action-links, text-overflow: ellipsis; } - .wp-list-table .is-expanded td:not(.hidden) { + .wp-list-table .is-expanded td:not(.hidden):not(.check-column), + .wp-list-table .is-expanded th:not(.hidden):not(.check-column) { display: block !important; overflow: hidden; /* clearfix */ }