This commit is contained in:
tianshujie
2021-12-06 10:22:47 +08:00
parent d26c538f79
commit 183bf88f28
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -80,11 +80,11 @@ function renderStoryItem(item, $item, col)
var $title = $item.find('.title');
if(!$title.length)
{
$title = $('<a class="title iframe" data-width="95%">' + (scaleSize <= 1 ? '<i class="icon icon-lightbulb text-muted"></i> ' : '') + '<span class="text"></span></a>')
.attr('href', $.createLink('story', 'view', 'storyID=' + item.id, '', true));
$title = $('<a class="title">' + (scaleSize <= 1 ? '<i class="icon icon-lightbulb text-muted"></i> ' : '') + '<span class="text"></span></a>');
$title.appendTo($item);
}
$title.attr('title', item.title).find('.text').text(item.title);
$title.attr('title', item.title).find('.text').html('<a class="iframe" data-width="95%">' + item.title + '</a>');
$title.find('.text > a').attr('href', $.createLink('story', 'view', 'storyID=' + item.id, '', true));
}
if(scaleSize <= 2)
+1
View File
@@ -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;}