[wp-trac] [WordPress Trac] #64796: Buttons output in `extra_tablenav` are too tall

WordPress Trac noreply at wordpress.org
Thu Mar 5 06:37:08 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:                  |     Focuses:  css
----------------------------+---------------------

Comment (by hbhalodia):

 Replying to [ticket:64796 johnbillion]:
 > The new button and form field styles were introduced in [61645] for
 #64547.
 >
 > When a plugin outputs a button in the `extra_tablenav` method of a
 custom list table, the button is now too tall. It looks like they need to
 get the same `line-height` rule that is applied to `.tablenav .actions
 .button`: https://github.com/WordPress/wordpress-
 develop/blob/707fa78322968b590e84b29d0575de65dc785b2c/src/wp-
 admin/css/forms.css#L549-L553
 >

 Hi @johnbillion, I do not think that only line-height css will fix the
 issue, because the newer button styles have a min-height of 40px, which is
 the main cause that it looks tall.

 While the buttons that are inside tablenav and actions, it have a min-
 height set to 32px.

 Either we need to increase the min-height for tablenav from 32px to 40px
 or set whatever button inside tablenav set min-height to 32px?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64796#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list