Cleanup and minor tweaks for apps with a sidebar

Like Attract or Flamenco
This commit is contained in:
2018-09-06 18:18:15 +02:00
parent 4532c1ea39
commit 9bcd6cec89
9 changed files with 20 additions and 123 deletions

View File

@@ -66,7 +66,9 @@ function containerResizeY(window_height){
var project_container = document.getElementById('project-container');
var container_offset = project_container.offsetTop;
var nav_header_height = $('#project_nav-header').height();
// TODO (pablo) - see if it's used at all
// var nav_header_height = $('#project_context-header').height();
var nav_header_height = 40;
var container_height = window_height - container_offset.top;
var container_height_wheader = window_height - container_offset.top - nav_header_height;
var window_height_minus_nav = window_height - nav_header_height - 1; // 1 is border width