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

This reverts commit 3b06f06a04.

Breaks announcements.
This commit is contained in:
Eric Lippmann 2018-11-20 10:17:27 +01:00
parent 3b06f06a04
commit f8295ea825
2 changed files with 7 additions and 1 deletions

View File

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

View File

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