CSS: Add flex-box to #main

This commit is contained in:
Florian Strohmaier 2019-07-03 17:44:26 +02:00 committed by Johannes Meyer
parent ead543e373
commit 8c7b5fcd57
2 changed files with 7 additions and 7 deletions

View File

@ -33,6 +33,7 @@ body {
#main {
flex: 1;
display: flex;
}
.iframe {

View File

@ -102,23 +102,22 @@
.clearfix();
& > .container {
width: 0;
flex: 1 1 auto;
display: flex;
flex-direction: column;
&:empty {
display: none;
}
// Container scrolling
height: 100%;
overflow: auto;
& > .content {
flex: 1 1 auto;
overflow: auto;
padding: @gutter;
z-index: 2;
}
& > .controls {
z-index: 3;
padding-left: @gutter;
padding-right: @gutter;