From d401c56390a564b31f97e2852219f8c0ffc61c3b Mon Sep 17 00:00:00 2001 From: Andrey Date: Sun, 5 Jan 2020 13:58:09 +1100 Subject: [PATCH] The input filed with hex/rgb values always shown Fixes issue #29. The input field with hex/rgb values always shown. The correct behaviour: The input filed should be hidden until a user clicks on the color button, then we show the input field. --- alpha-color-picker/alpha-color-picker.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alpha-color-picker/alpha-color-picker.css b/alpha-color-picker/alpha-color-picker.css index 37857a1..acec58a 100644 --- a/alpha-color-picker/alpha-color-picker.css +++ b/alpha-color-picker/alpha-color-picker.css @@ -6,7 +6,7 @@ border-bottom: none; } -.alpha-color-picker-wrap .wp-picker-input-wrap { +.alpha-color-picker-wrap .wp-picker-open+.wp-picker-input-wrap { display: block; } @@ -108,4 +108,4 @@ .alpha-color-picker-wrap .wp-picker-container input[type=text].wp-color-picker { width: 173px; } -} \ No newline at end of file +}