From e9e65ae23b8a7306a907975d12090a120fa6823c Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 10 Mar 2020 17:05:17 +0100 Subject: [PATCH] Fix minimum size of a column --- www/kanban/app-kanban.less | 2 +- www/kanban/inner.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/kanban/app-kanban.less b/www/kanban/app-kanban.less index 9654e9f5b..2f6a257bc 100644 --- a/www/kanban/app-kanban.less +++ b/www/kanban/app-kanban.less @@ -239,7 +239,7 @@ flex: 1; overflow-y: auto; justify-content: space-around; - min-height: 50px; + min-height: 38px; // Size of one card } header { display: flex; diff --git a/www/kanban/inner.js b/www/kanban/inner.js index a07987633..91924995f 100644 --- a/www/kanban/inner.js +++ b/www/kanban/inner.js @@ -600,7 +600,7 @@ define([ save(); if (!$input.val()) { return; } if (!$(el).closest('.kanban-item').is(':last-child')) { return; } - $(el).closest('.kanban-board').find('.kanban-title-button.fa-plus').click(); + $(el).closest('.kanban-board').find('.kanban-title-button').click(); return; } if (e.which === 27) {