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;
left: 0;
position: fixed;
top: 3em;
top: 2.25em;
width: 12em;
}
@ -33,7 +33,7 @@ html {
left: 12em;
position: fixed;
right: 0;
top: 3em;
top: 2.25em;
}
.iframe {

View File

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

View File

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