[wp-trac] [WordPress Trac] #48131: Height issue in wp-color-picker

WordPress Trac noreply at wordpress.org
Thu Sep 26 20:54:43 UTC 2019


#48131: Height issue in wp-color-picker
-------------------------------------------------+-------------------------
 Reporter:  audrasjb                             |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.3
Component:  Administration                       |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots needs-     |     Focuses:  ui,
  testing needs-design-feedback                  |  accessibility
-------------------------------------------------+-------------------------

Comment (by afercia):

 Thanks all :) I think this would be better fixed by keeping the current
 `height` value and adding `min-height: 0` to override the newly inherited
 min height.

 Seems to me a broader approach would be by reviewing the CSS "small"
 classes for inputs and buttons. @kjellr do you think it would make sense
 to adjust them in order to have a height of 24 pixels?

 In this specific case:
 - the input field could use the `small-text` class
 - the `button-small` class should be slightly adjusted to have a total
 height of 24 pixels.

 For reference, I'm attaching a screenshot of the color picker input and
 buttons on WP 5.2.3 with Twenty Sixteen active.

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


More information about the wp-trac mailing list