Fix kanban edit modal issues
This commit is contained in:
@@ -94,6 +94,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cp-kanban-edit-modal {
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
#cp-kanban-edit-body {
|
#cp-kanban-edit-body {
|
||||||
border: 1px solid @colortheme_modal-input;
|
border: 1px solid @colortheme_modal-input;
|
||||||
.CodeMirror {
|
.CodeMirror {
|
||||||
|
|||||||
@@ -240,6 +240,7 @@ define([
|
|||||||
$colors.find('.cp-kanban-palette').removeClass('fa-check');
|
$colors.find('.cp-kanban-palette').removeClass('fa-check');
|
||||||
var $col = $colors.find('.cp-kanban-palette-'+(color || 'nocolor'));
|
var $col = $colors.find('.cp-kanban-palette-'+(color || 'nocolor'));
|
||||||
$col.addClass('fa-check');
|
$col.addClass('fa-check');
|
||||||
|
selectedColor = color;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -292,6 +293,7 @@ define([
|
|||||||
var modal = UI.dialog.customModal(content, {
|
var modal = UI.dialog.customModal(content, {
|
||||||
buttons: button
|
buttons: button
|
||||||
});
|
});
|
||||||
|
modal.classList.add('cp-kanban-edit-modal');
|
||||||
|
|
||||||
onRemoteChange.reg(function () {
|
onRemoteChange.reg(function () {
|
||||||
if (isBoard) {
|
if (isBoard) {
|
||||||
|
|||||||
Reference in New Issue
Block a user