From 722cbfe47f85682486cb8ee4436ca7ab63d2fdf0 Mon Sep 17 00:00:00 2001 From: Florian Strohmaier Date: Wed, 3 Jul 2019 15:48:23 +0200 Subject: [PATCH 01/43] CSS: Make body and #layout 100% of viewport --- public/css/icinga/layout-structure.less | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/public/css/icinga/layout-structure.less b/public/css/icinga/layout-structure.less index 80ce4d0069..d50d96608d 100644 --- a/public/css/icinga/layout-structure.less +++ b/public/css/icinga/layout-structure.less @@ -1,15 +1,17 @@ /*! Icinga Web 2 | (c) 2014 Icinga Development Team | GPLv2+ */ html { + height: 100%; font-family: 'default-layout'; } +body { + min-height: 100%; + height: 100%; +} + #layout { height: 100%; - width: 100%; - position: fixed; - left: 0; - top: 0; // Prevent nav-level-2 flyovers from being covered by #main z-index: 0; } @@ -20,7 +22,6 @@ html { position: fixed; left: 0; top: 0; - } #sidebar { From 204fd5d636b4929e245da0171b2d51fd6dece7a3 Mon Sep 17 00:00:00 2001 From: Florian Strohmaier Date: Wed, 3 Jul 2019 15:49:12 +0200 Subject: [PATCH 02/43] Body: Restructure layout markup --- application/layouts/scripts/body.phtml | 41 ++++++++++++++------------ 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/application/layouts/scripts/body.phtml b/application/layouts/scripts/body.phtml index e04aaf1dd3..aeb49fbe92 100644 --- a/application/layouts/scripts/body.phtml +++ b/application/layouts/scripts/body.phtml @@ -23,28 +23,30 @@ if ($this->layout()->inlineLayout) { } ?> -