From 183bf88f289904d8869125ca905d8a37007d3a12 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Mon, 6 Dec 2021 10:22:47 +0800 Subject: [PATCH] * Fix bug #17056. --- module/execution/js/kanban.js | 6 +++--- module/story/css/view.css | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/module/execution/js/kanban.js b/module/execution/js/kanban.js index 11d735ea65..0dbdd5cbd1 100644 --- a/module/execution/js/kanban.js +++ b/module/execution/js/kanban.js @@ -80,11 +80,11 @@ function renderStoryItem(item, $item, col) var $title = $item.find('.title'); if(!$title.length) { - $title = $('' + (scaleSize <= 1 ? ' ' : '') + '') - .attr('href', $.createLink('story', 'view', 'storyID=' + item.id, '', true)); + $title = $('' + (scaleSize <= 1 ? ' ' : '') + ''); $title.appendTo($item); } - $title.attr('title', item.title).find('.text').text(item.title); + $title.attr('title', item.title).find('.text').html('' + item.title + ''); + $title.find('.text > a').attr('href', $.createLink('story', 'view', 'storyID=' + item.id, '', true)); } if(scaleSize <= 2) diff --git a/module/story/css/view.css b/module/story/css/view.css index a8a0febfde..7ff8690e99 100644 --- a/module/story/css/view.css +++ b/module/story/css/view.css @@ -2,3 +2,4 @@ .side-col #legendProjectAndTask .list-unstyled {padding: 10px; border-top: 0px; margin: 0px;} #legendStories ul li {padding: 10px 0 0 12px; line-height: 20px;} .main-actions .btn-toolbar .btn {padding-right: 6px; padding-left: 6px;} +.body-modal #mainMenu>.btn-toolbar .page-title>.text {max-width: 85% !important;}