Fix jumping header when reloading

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
This commit is contained in:
Florian Strohmaier 2016-12-12 16:54:28 +01:00 committed by Eric Lippmann
parent 2e646379ce
commit f0bc12d2c0
3 changed files with 6 additions and 11 deletions

View File

@ -24,7 +24,7 @@ html {
bottom: 0; bottom: 0;
left: 0; left: 0;
position: fixed; position: fixed;
top: 3em; top: 2.25em;
width: 12em; width: 12em;
} }
@ -33,7 +33,7 @@ html {
left: 12em; left: 12em;
position: fixed; position: fixed;
right: 0; right: 0;
top: 3em; top: 2.25em;
} }
.iframe { .iframe {

View File

@ -24,7 +24,7 @@
font-size: 2em; font-size: 2em;
} }
#header-logo-container, #header,
#login, #login,
#main > .container, #main > .container,
#menu { #menu {
@ -37,11 +37,10 @@
} }
#header-logo-container { #header-logo-container {
height: 3em; height: 2.667em;
margin-bottom: 0.2em; margin-left: .7em;
margin-left: 1.5em;
margin-top: 0.2em;
width: 100px; width: 100px;
margin-top: 0.1667em;
} }
#header-logo { #header-logo {

View File

@ -579,10 +579,6 @@
var $search = $('#search'); var $search = $('#search');
var $sidebar = $('#sidebar'); var $sidebar = $('#sidebar');
$header.css({
height: 'auto'
});
if ($layout.hasClass('minimal-layout')) { if ($layout.hasClass('minimal-layout')) {
if (! this.mobileMenu && $sidebar.length) { if (! this.mobileMenu && $sidebar.length) {
$header.css({ $header.css({