Fix icon color picker rendering issue
This commit is contained in:
@@ -337,7 +337,7 @@
|
||||
margin: 3px 0;
|
||||
}
|
||||
|
||||
.sp-icon-color-box input[type=text] {
|
||||
.sp-color-box-for-icon input[type=text] {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,14 +23,14 @@ jQuery(document).ready(function($){
|
||||
})
|
||||
.click(function(){
|
||||
$('.iris-picker').hide();
|
||||
$(this).closest('.sp-icon-color-box, td').find('.iris-picker').show();
|
||||
$(this).closest('.sp-color-box-for-icon, td').find('.iris-picker').show();
|
||||
});
|
||||
|
||||
$('body').click(function() {
|
||||
$('.iris-picker').hide();
|
||||
});
|
||||
|
||||
$('.sp-icon-color-box, .colorpick').click(function(event){
|
||||
$('.sp-color-box-for-icon, .colorpick').click(function(event){
|
||||
event.stopPropagation();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user