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