modify zentao bug/task/story card page's srollbar and actionbar

This commit is contained in:
chaideqing
2021-11-24 10:50:51 +08:00
parent 052157902a
commit 70677f0673
10 changed files with 39 additions and 26 deletions
+6 -2
View File
@@ -28,7 +28,11 @@ $(function()
xuanAction += "<a href='" + url + "'" + title + target + btnClass + '>' + action + "</a>";
});
xuanAction += '</div>';
$('body').append(xuanAction);
if(xuanAction != "<div class='xuancard-actions fixed'>"){
xuanAction += '</div>';
$('body').append(xuanAction);
}else{
$('#scrollContent').css('height', 'calc(100% - 36px)');
}
$('.xuancard-actions a.iframe').modalTrigger();
})