mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 18:59:04 +02:00
CSS: Add flex-box to #main
This commit is contained in:
parent
ead543e373
commit
8c7b5fcd57
@ -33,6 +33,7 @@ body {
|
|||||||
|
|
||||||
#main {
|
#main {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.iframe {
|
.iframe {
|
||||||
|
@ -102,23 +102,22 @@
|
|||||||
.clearfix();
|
.clearfix();
|
||||||
|
|
||||||
& > .container {
|
& > .container {
|
||||||
|
width: 0;
|
||||||
|
flex: 1 1 auto;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
&:empty {
|
&:empty {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Container scrolling
|
|
||||||
height: 100%;
|
|
||||||
overflow: auto;
|
|
||||||
|
|
||||||
& > .content {
|
& > .content {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
overflow: auto;
|
||||||
padding: @gutter;
|
padding: @gutter;
|
||||||
z-index: 2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
& > .controls {
|
& > .controls {
|
||||||
z-index: 3;
|
|
||||||
|
|
||||||
padding-left: @gutter;
|
padding-left: @gutter;
|
||||||
padding-right: @gutter;
|
padding-right: @gutter;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user