From fb1e83ffdc9425fcd48a030b1f4c801655e75b0c Mon Sep 17 00:00:00 2001 From: Catouse Date: Mon, 29 Oct 2018 13:49:52 +0800 Subject: [PATCH] * fix bug #2255. --- module/project/css/kanban.css | 2 +- module/project/js/kanban.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/project/css/kanban.css b/module/project/css/kanban.css index 23e10bd67c..c9ccad2451 100644 --- a/module/project/css/kanban.css +++ b/module/project/css/kanban.css @@ -16,7 +16,7 @@ .board.drop-to .board-drag-holder {display: block;} .board-item + .board-drag-holder {margin-top: 10px;} .board-item.dragging {opacity: .35;} -.board-item .btn {padding: 2px 10px 2px 23px; font-size: 12px; position: relative; left: -2px;} +.board-item .btn {padding: 2px 10px 2px 23px; font-size: 12px; position: relative; left: -2px; height: 24px;} .board-item .btn-icon-left > .icon {width: 22px; height: 22px; line-height: 20px; font-size: 14px; opacity: 1; top: 1px} .board-item .btn-icon-left > span {max-width: 80px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; display: inline-block;} #kanban {overflow-y: auto} diff --git a/module/project/js/kanban.js b/module/project/js/kanban.js index 308a5277ce..b2cd1624e0 100644 --- a/module/project/js/kanban.js +++ b/module/project/js/kanban.js @@ -116,7 +116,7 @@ $(function() $.cookie('selfClose', 0, {expires:config.cookieLife, path:config.webRoot}); if(selfClose == 1 || force) { - $kanban.load(location.href + ' #kanban', updateUI); + $kanban.load(location.href + ' #kanban>*', updateUI); } }; window.refreshKanban = refresh;