Fix menu flickering on reload and broken layout w/o JS

fixes #3629
fixes #3630
This commit is contained in:
Eric Lippmann 2018-11-20 10:06:41 +01:00
parent 5ebc38d196
commit 3b06f06a04
2 changed files with 1 additions and 7 deletions

View File

@ -43,7 +43,6 @@
width: 16em; width: 16em;
position: fixed; position: fixed;
left: 0; left: 0;
margin-top: -3em;
} }
#header-logo { #header-logo {
@ -177,9 +176,7 @@
// Display tabs if JS is disabled // Display tabs if JS is disabled
html.no-js .controls > .tabs { html.no-js .controls > .tabs {
background-color: @icinga-blue; background-color: @icinga-blue;
margin-left: -1 * @gutter; margin-top: 0;
margin-right: -1 * @gutter;
margin-top: -1 * @gutter;
} }
// Dashboard grid // Dashboard grid

View File

@ -625,9 +625,6 @@
this.mobileMenu = true; this.mobileMenu = true;
} }
} else { } else {
$headerLogo.css({
top: $header.css('height')
});
$main.css({ $main.css({
top: $header.css('height') top: $header.css('height')
}); });