From 1402dc71709981218dc785e77ee728b359010767 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 9 Mar 2020 14:58:49 +0100 Subject: [PATCH] Fix kanban edit modal issues --- www/kanban/app-kanban.less | 5 +++++ www/kanban/inner.js | 2 ++ 2 files changed, 7 insertions(+) diff --git a/www/kanban/app-kanban.less b/www/kanban/app-kanban.less index 226778219..695125dad 100644 --- a/www/kanban/app-kanban.less +++ b/www/kanban/app-kanban.less @@ -94,6 +94,11 @@ } } + .cp-kanban-edit-modal { + display: flex; + flex-flow: column; + overflow: hidden; + } #cp-kanban-edit-body { border: 1px solid @colortheme_modal-input; .CodeMirror { diff --git a/www/kanban/inner.js b/www/kanban/inner.js index d0a38d10a..17e0e278e 100644 --- a/www/kanban/inner.js +++ b/www/kanban/inner.js @@ -240,6 +240,7 @@ define([ $colors.find('.cp-kanban-palette').removeClass('fa-check'); var $col = $colors.find('.cp-kanban-palette-'+(color || 'nocolor')); $col.addClass('fa-check'); + selectedColor = color; } }; @@ -292,6 +293,7 @@ define([ var modal = UI.dialog.customModal(content, { buttons: button }); + modal.classList.add('cp-kanban-edit-modal'); onRemoteChange.reg(function () { if (isBoard) {