Commit b54e9a83 authored by Téo Vasseur's avatar Téo Vasseur

css : balanced width/height for panels (~grid display)

parent cd31ee75
......@@ -12,6 +12,7 @@ div {
}
#panels {
display: grid;
position: fixed;
top: 0px;
bottom: 0px;
......@@ -23,16 +24,21 @@ div {
margin: 6px;
}
.panel {
display: grid;
}
.panel:empty {
display: none;
}
#AB {
/*display: flex;*/
display: flex;
/*height: 100%;*/
/*position: absolute;
top: 0px;
bottom: 125px;*/
height: calc(100% - 125px);
}
.panel {
display: grid;
/*height: calc(100% - 125px);*/
}
#A, #B {
......@@ -40,11 +46,12 @@ div {
width: -webkit-calc(50% - 3px);
width: calc(50% - 3px);
width: auto;*/
width: 100%;
}
#A {
float: left;
width: 50%;
/*float: left;*/
/*width: 50%;*/
/*left: 0px;*/
}
......@@ -52,13 +59,13 @@ div {
/*position: absolute;
right: 0px;
left: auto;*/
float: right;
/*float: right;*/
}
#C {
position: absolute;
bottom: 0px;
min-height: 125px;
/*position: absolute;
bottom: 0px;*/
/*min-height: 125px;*/
}
.separator {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment