Fix kanban edit modal issues

pull/1/head
yflory 5 years ago
parent 6d0154fb4d
commit 1402dc7170

@ -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) {

Loading…
Cancel
Save