Project view: Fix transparent background of tree/sidebar

This commit is contained in:
Pablo Vazquez 2016-09-05 18:55:49 +02:00
parent 4cf7fde5bf
commit e4763d809b
3 changed files with 7 additions and 1 deletions

View File

@ -5,7 +5,7 @@ $(function () {
function NavbarTransparent() {
var startingpoint = 50;
var startingpoint = 15;
$(window).on("load scroll", function () {

View File

@ -46,6 +46,7 @@
width: 100%
ul.project-tabs
background-color: $color-background-nav-dark
margin: 0
padding: 0
list-style: none
@ -735,6 +736,7 @@ ul.project_nav-edit-list
padding-bottom: 5px // some padding on bottom of jstree
position: relative // for scrollbar alignment
margin-top: $project_header-height
background-color: $color-background-nav
&.edit
margin-top: 0

View File

@ -578,9 +578,13 @@ script.
// Initialize the page
loadContent();
var project_container = document.getElementById('project-container');
/* UI Stuff */
$(window).on("load resize",function(){
containerResizeY($(window).height());
project_container.style.height = (window.innerHeight - project_container.offsetTop) + "px";
});
if (projectTree){