Blog: Fix top bar not full width

This commit is contained in:
Pablo Vazquez 2017-03-23 18:52:24 +01:00
parent 24468159e7
commit ce5e27814a
2 changed files with 18 additions and 0 deletions

View File

@ -138,4 +138,13 @@ script.
}
});
/* UI Stuff */
$(window).on("load resize",function(){
containerResizeY($(window).height());
if ($(window).width() > 480) {
project_container.style.height = (window.innerHeight - project_container.offsetTop) + "px";
}
});
| {% endblock %}

View File

@ -64,4 +64,13 @@ script.
}
});
/* UI Stuff */
$(window).on("load resize",function(){
containerResizeY($(window).height());
if ($(window).width() > 480) {
project_container.style.height = (window.innerHeight - project_container.offsetTop) + "px";
}
});
| {% endblock footer_scripts %}