[wp-trac] [WordPress Trac] #64796: Buttons output in `extra_tablenav` are too tall
WordPress Trac
noreply at wordpress.org
Tue Mar 17 23:13:56 UTC 2026
#64796: Buttons output in `extra_tablenav` are too tall
------------------------------------+---------------------
Reporter: johnbillion | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 7.0
Component: Administration | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch admin-reskin | Focuses: css
------------------------------------+---------------------
Comment (by abdullah17):
Tested the patch from PR #11224 in a local environment.
Setup:
- WordPress trunk (7.0-beta / latest develop)
- Multisite enabled
- No additional plugins active (clean install)
- Browser: Chrome (Version 145.0.7632.162 (Official Build) (arm64))
Steps to reproduce:
1. Used the provided `dummy-list-table.php` attachment from the ticket.
2. Added it as a plugin and activated it.
3. Accessed the page via Tools → Dummy List Table.
4. Observed the button output from `extra_tablenav()` (without `.actions`
wrapper).
Results before patch: [https://ibb.co/HDDd7g3M]
- The "Export" button rendered in the top `.tablenav` appears slightly
misaligned compared to standard admin buttons.
Patch testing: [https://ibb.co/JjgWwV7g]
- Applied the patch manually to `src/wp-admin/css/forms.css`.
- Rebuilt assets using `npm run build`.
- Performed a hard refresh to ensure updated CSS is loaded.
Results after patch: [https://ibb.co/7xdy8Z3k]
- The button inside `.tablenav` (even without `.actions` wrapper) is
styled consistently.
- Height, line-height, and alignment match other core buttons.
- Verified in both top and bottom `.tablenav`.
Additional checks:
- Tested buttons inside `.actions` wrapper (control case) — no regression
observed.
- Checked other admin screens (Posts list table, Users screen) — no visual
regressions observed.
Conclusion:
The patch resolves the inconsistency by ensuring buttons within
`.tablenav` receive consistent styling regardless of markup structure.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64796#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list