From 6f7aa86e8b8acbc20d7f7a4e86e8dc087c1ec44f Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Fri, 9 Jun 2017 17:57:01 +0200 Subject: [PATCH] Project Edit: Set container size and header width --- src/templates/projects/edit_layout.jade | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/templates/projects/edit_layout.jade b/src/templates/projects/edit_layout.jade index 3f15ae29..24826231 100644 --- a/src/templates/projects/edit_layout.jade +++ b/src/templates/projects/edit_layout.jade @@ -79,6 +79,13 @@ #project_context | {% block project_context %} | {% endblock %} + +script. + /* UI Stuff */ + $(window).on("load resize",function(){ + $('#project-container').css('height', $(window).height()); + $('#project_context-header').css('width', $('#project_context-container').width()); + }); | {% endblock %} | {% block footer_navigation %}