mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Fix jumping header when reloading
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
This commit is contained in:
parent
2e646379ce
commit
f0bc12d2c0
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user