Make WordPress Core

#49543 closed defect (bug) (fixed)

Missing color picker's clear-button styling

Reported by: Cybr Owned by: SergeyBiryukov
Milestone: 5.5 Priority: normal
Severity: normal Version:
Component: Customize Keywords: has-patch
Focuses: ui, administration Cc:



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).

Attachments (1)

color-picker.css.patch (1.1 KB) - added by Cybr 19 months ago.

Download all attachments as: .zip

Change History (5)

#1 @Cybr
19 months ago

  • Component changed from Gallery to Administration
  • Keywords has-patch added

I couldn't find the /wp-admin/css/color-picker-rtl.css stylesheet in the SVN repo. But the same changes should be implemented for those.

#2 @SergeyBiryukov
19 months ago

  • Milestone changed from Awaiting Review to 5.5
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#3 @SergeyBiryukov
19 months ago

  • Component changed from Administration to Customize

#4 @SergeyBiryukov
19 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 47433:

Customize: Ensure color picker's Clear button is aligned properly.

Props Cybr.
Fixes #49543.

Note: See TracTickets for help on using tickets.