* improve style for affixed header in kanban.

This commit is contained in:
Hao Sun
2021-10-26 14:54:16 +08:00
parent 920b8234a3
commit 43d52ddb9b
3 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -429,7 +429,10 @@ $.extend($.fn.kanban.Constructor.DEFAULTS,
}
$kanban.find('.kanban-header-col[data-type="doingProject"] > .title > .count').text(doingProjectCount || 0);
$kanban.find('.kanban-header-col[data-type="doingExecution"] > .title > .count').text(doingExecutionCount || 0);
},
onCreate(kanban)
{
kanban.$.on('scroll', updateKanbanAffixState);
updateKanbanAffixState();
}
});
+3
View File
@@ -8,3 +8,6 @@
.kanban-item > .infos > .label-pri {min-width: 16px; line-height: 14px; height: 16px; padding: 0;}
.kanban-item > .infos > .label-severity {transform: scale(.75);}
.kanban-item > .infos > .avatar {position: absolute; right: 0; top: 0}
.kanban-affixed .kanban-header-col > .title > .text,
.kanban-affixed .kanban-header-col > .title > .count {color: #fff!important;}
File diff suppressed because one or more lines are too long