Fix navigation tree not scrolling until the bottom
This commit is contained in:
parent
0089a8a98e
commit
714455a4eb
@ -152,11 +152,16 @@ function containerResizeY(window_height){
|
||||
$('#project_context-header').width($('#project_context-container').width());
|
||||
|
||||
if ($(window).width() > 768) {
|
||||
$('#project-container, #project_nav-container, #project_tree, .project_split').css(
|
||||
$('#project-container').css(
|
||||
{'max-height': window_height_minus_nav + 'px',
|
||||
'height': window_height_minus_nav + 'px'}
|
||||
);
|
||||
|
||||
$('#project_nav-container, #project_tree, .project_split').css(
|
||||
{'max-height': (window_height_minus_nav - 50) + 'px',
|
||||
'height': (window_height_minus_nav - 50) + 'px'}
|
||||
);
|
||||
|
||||
if (container_height > parseInt($('#project-container').css("min-height"))) {
|
||||
if (typeof projectTree !== "undefined"){
|
||||
$(projectTree).css(
|
||||
|
Loading…
x
Reference in New Issue
Block a user