CSS: Make body and #layout 100% of viewport

This commit is contained in:
Florian Strohmaier 2019-07-03 15:48:23 +02:00 committed by Johannes Meyer
parent b8f8187762
commit 722cbfe47f
1 changed files with 6 additions and 5 deletions

View File

@ -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 {