Project Edit: Cleanup and styling
This commit is contained in:
@@ -66,15 +66,11 @@ function containerResizeY(window_height){
|
||||
|
||||
var project_container = document.getElementById('project-container');
|
||||
var container_offset = project_container.offsetTop;
|
||||
// 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
|
||||
|
||||
$('#project_context-header').width($('#project_context-container').width());
|
||||
|
||||
if ($(window).width() > 768) {
|
||||
$('#project-container').css(
|
||||
{'max-height': window_height_minus_nav + 'px',
|
||||
|
Reference in New Issue
Block a user