CSS: Make body and #layout 100% of viewport
This commit is contained in:
parent
b8f8187762
commit
722cbfe47f
|
@ -1,15 +1,17 @@
|
||||||
/*! Icinga Web 2 | (c) 2014 Icinga Development Team | GPLv2+ */
|
/*! Icinga Web 2 | (c) 2014 Icinga Development Team | GPLv2+ */
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
height: 100%;
|
||||||
font-family: 'default-layout';
|
font-family: 'default-layout';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
min-height: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
#layout {
|
#layout {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
|
||||||
position: fixed;
|
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
// Prevent nav-level-2 flyovers from being covered by #main
|
// Prevent nav-level-2 flyovers from being covered by #main
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
}
|
}
|
||||||
|
@ -20,7 +22,6 @@ html {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar {
|
#sidebar {
|
||||||
|
|
Loading…
Reference in New Issue