Opened 8 months ago
Closed 7 months ago
#64975 closed defect (bug) (fixed)
Admin reskin: Vertical alignment of list pagination is off
| Reported by: | TobiasBg | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.0 |
| Component: | Administration | Version: | 7.0 |
| Severity: | normal | Keywords: | admin-reskin has-patch commit dev-reviewed |
| Cc: | Focuses: |
Description
The vertical alignment of elements in the pagination of WP_List_Tables is off.
Attachments (1)
Change History (10)
This ticket was mentioned in PR #11392 on WordPress/wordpress-develop by @rcorrales.
8 months ago
#2
- Keywords has-patch added; needs-patch removed
This ticket was mentioned in PR #11393 on WordPress/wordpress-develop by @opurockey.
8 months ago
#3
Ticket: https://core.trac.wordpress.org/ticket/64975
## Summary
This PR addresses the issue where the pagination elements in WP_List_Tables are vertically misaligned. The update ensures consistent alignment across pagination controls for better visual consistency.
## Problem
The pagination UI in WP_List_Tables has inconsistent vertical alignment between page numbers, input field, and navigation buttons. This results in a slightly uneven and unpolished appearance in the admin interface.
## Solution
- Adjusted CSS styles to properly align pagination elements.
- Ensured consistent spacing and alignment pagination controls.
This ticket was mentioned in PR #11397 on WordPress/wordpress-develop by rahultank-spaceo.
8 months ago
#4
Trac ticket: https://core.trac.wordpress.org/ticket/64975
Fixes the vertical alignment issue in WP_List_Table pagination rows.
Changed.tablenav-pagesmargin from0 0 9pxto0and added
display: flex+align-items: centerfor proper alignment.
#6
@
8 months ago
- Keywords commit dev-feedback added
- Resolution fixed
- Status closed → reopened
Reopening for 7.0 consideration.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The page number input in
WP_List_Tablepagination was vertically misaligned with the navigation buttons due to different baseline positions.The fix adds
vertical-align: topto.current-page, which aligns the input flush with the buttons without side effects on the bottom pagination row (which has no input field).Before:

After:

For additional context, other approaches explored and discarded:
display: flex+align-items: centeron the pagination containers fixed alignment but changed horizontal spacing and affected the bottom pagination row.vertical-align: middleon buttons and text elements fixed the top row but shifted the bottom pagination which was already aligned.Trac ticket: https://core.trac.wordpress.org/ticket/64975
## Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 4.6
Used for: Measuring computed styles in the browser and code reviewing. Final fix validated and reviewed by me.