* fix kanban header affix not work in fullscreen mode.
This commit is contained in:
@@ -9,9 +9,8 @@
|
||||
.dropdown-menu > li {padding: 0 10px;}
|
||||
.dropdown-menu > li > a > .icon {position: relative; left: -5px;}
|
||||
|
||||
.scrollbar-hover {max-height: 2000px; overflow: scroll !important;}
|
||||
|
||||
#kanbanContainer {padding-bottom: 0; margin-bottom: 0;}
|
||||
#kanbanContainer.fullscreen {overflow: auto;}
|
||||
|
||||
.region {border: 1px solid #dcdcdc; background-color: #fff;}
|
||||
.region + .region {margin-top: 20px;}
|
||||
|
||||
@@ -34,7 +34,8 @@ function fullScreen()
|
||||
{
|
||||
var afterEnterFullscreen = function()
|
||||
{
|
||||
$('#kanbanContainer').addClass('scrollbar-hover');
|
||||
$('#kanbanContainer').addClass('fullscreen')
|
||||
.on('scroll', tryUpdateKanbanAffix);
|
||||
$('.actions').hide();
|
||||
$.cookie('isFullScreen', 1);
|
||||
};
|
||||
@@ -71,7 +72,8 @@ function fullScreen()
|
||||
*/
|
||||
function exitFullScreen()
|
||||
{
|
||||
$('#mainContent').removeClass('scrollbar-hover');
|
||||
$('#kanbanContainer').removeClass('fullscreen')
|
||||
.off('scroll', tryUpdateKanbanAffix);
|
||||
$('.actions').show();
|
||||
$.cookie('isFullScreen', 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user