diff --git a/public/js/icinga/ui.js b/public/js/icinga/ui.js index c01b7a2a2..7a69a0d33 100644 --- a/public/js/icinga/ui.js +++ b/public/js/icinga/ui.js @@ -675,15 +675,9 @@ if ($layout.hasClass('minimal-layout')) { if (! this.mobileMenu && $sidebar.length) { - $header.css({ - top: $sidebar.outerHeight() + 'px' - }); $headerLogo.css({ display: 'none' }); - $main.css({ - top: $header.outerHeight() + $sidebar.outerHeight() - }); $sidebar .on( 'click', @@ -699,22 +693,7 @@ this.mobileMenu = true; } } else { - $headerLogo.css({ - top: $header.css('height') - }); - $main.css({ - top: $header.css('height') - }); - if (!! $headerLogo.length) { - $sidebar.css({ - top: $headerLogo.offset().top + $headerLogo.outerHeight() - }); - } - if (this.mobileMenu) { - $header.css({ - top: 0 - }); $headerLogo.css({ display: 'block' });