Auto Layout wp-list-tables
WordPress plugin that updates the fixed CSS class used for admin list table layouts in a way that prevents a noticeable layout shift.
by Dan Poynor · github.com/danpoynor/auto-layout-wp-list-tables · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/danpoynor/auto-layout-wp-list-tables/archive/refs/heads/main.zipReadme
Auto Layout wp-list-tables
WordPress plugin that updates the fixed CSS class used for admin list table layouts in a way that prevents a noticeable layout shift.
Features
- Automatically works, no Settings screen to administer.
- Allows tables with the class
wp-list-tableto expand to intrinsic widths. - Visible layout shift avoided by using
admin_headhook to make update before DOM is rended.
Potential To-Do List
- Add screenshots to README.md.
- Test with a bunch of other plugins to check for conflicts.
- Add unit tests.
- Submit to https://wordpress.org/plugins/