[wp-trac] [WordPress Trac] #49543: Missing color picker's clear-button styling

WordPress Trac noreply at wordpress.org
Fri Feb 28 02:50:00 UTC 2020


#49543: Missing color picker's clear-button styling
--------------------------------+-----------------------------
 Reporter:  Cybr                |      Owner:  (none)
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Gallery             |    Version:
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 Hello!

 I noticed that when the WordPress color picker is created without a
 default value, the "clear" button shows up instead. That's great!

 The problem is that it isn't styled, so the button isn't aligned
 correctly.

 To resolve this, the clear button's class (`.wp-picker-input-wrap .button
 .wp-picker-clear`) should have the same styles as the default button's
 class (`.wp-picker-input-wrap .button.wp-picker-default`).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49543>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list