From 680467a1aae81c8374a8eac1029ab0dd108d0c4e Mon Sep 17 00:00:00 2001 From: Florian Strohmaier Date: Wed, 11 Dec 2019 12:57:15 +0100 Subject: [PATCH] CSS: Fix flex-box scrolling for different browsers --- public/css/icinga/layout-structure.less | 1 + public/css/icinga/responsive.less | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/public/css/icinga/layout-structure.less b/public/css/icinga/layout-structure.less index cc3fe019b..d6f4c1353 100644 --- a/public/css/icinga/layout-structure.less +++ b/public/css/icinga/layout-structure.less @@ -7,6 +7,7 @@ html { body { height: 100%; + overflow: hidden; } #layout { diff --git a/public/css/icinga/responsive.less b/public/css/icinga/responsive.less index 993fe836f..d88c3454a 100644 --- a/public/css/icinga/responsive.less +++ b/public/css/icinga/responsive.less @@ -104,6 +104,11 @@ flex-direction: column; } + #main { + flex: 1 1 auto; + height: 0; + } + ul > .selected > a:after, ul > .nav-item.active:after { display: none;