[wp-trac] [WordPress Trac] #42662: Height of .wp-admin select is insufficient

WordPress Trac noreply at wordpress.org
Wed Nov 22 13:12:26 UTC 2017


#42662: Height of .wp-admin select is insufficient
----------------------------+---------------------------------
 Reporter:  morvy           |       Owner:
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:
 Severity:  minor           |  Resolution:  invalid
 Keywords:                  |     Focuses:  ui, administration
----------------------------+---------------------------------
Changes (by afercia):

 * keywords:  reporter-feedback =>
 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Quickly checking latest WooCommerce 3.2.4 I see they change the selects
 and inputs size, for example the one above the list tables:

 {{{
 .post-type-product .tablenav input,
 .post-type-product .tablenav select,
 .post-type-shop_order .tablenav input,
 .post-type-shop_order .tablenav select {
     line-height: 32px;
     height: 32px
 }
 }}}

 I also see they use a 6px padding on the Select2 "selects" but I don't see
 any cropped text. Regardless, as you mentioned, plugins that override the
 default UI style are responsible for the changes they made.

 Worth also mentioning that selects are particularly difficult to style
 consistently across different browsers and platforms. Some CSS properties
 are just ignored by some browsers and a fixed height is a way to have a
 consistent size.

 As I don't see issues in the WordPress UI, I'm going to close this ticket
 but please do feel free to add more details and screenshots for any
 probems in the default UI.

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


More information about the wp-trac mailing list