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

WordPress Trac noreply at wordpress.org
Wed Mar 11 08:15:33 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:  needs-patch     |     Focuses:  css
----------------------------+---------------------

Comment (by hbhalodia):

 Replying to [comment:4 mukesh27]:
 > In [61645] it use specific selector so for tablenav buttons.
 >
 > {{{
 > .tablenav .actions .button {
 >     min-height: 32px;
 >     line-height: 2.30769231; /* 30px for 32px height with 13px font */
 >     padding: 0 12px;
 > }
 > }}}
 >
 > IMO we should use `.wp-core-ui .tablenav .button` selector that will fix
 the issue.

 Yes thanks @mukesh27, Since this style effectively adds to all the button
 that are inside the `actions` class.

 The change to `.wp-core-ui .tablenav .button` fixes the issue, checked
 locally because it targets all the buttons that are inside `.tablenav`.

 I will raise a PR to update the same.

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


More information about the wp-trac mailing list