Commit e0728224 authored by Ryan Herbert's avatar Ryan Herbert

vidjil.less add some media queries

for a little responsive behaviour
parent 38039de8
......@@ -186,11 +186,28 @@ ul{
user-select: auto;
}
@media only screen and (max-width: 1000px) {
#left-container {
display: none;
}
}
#visu, #visu2 {
height : 50%;
width : 100%;
}
@media only screen and (max-height: 500px) {
#visu, #visu2 {
height : 100%;
}
}
@media screen and (min-height: 500px) {
#visu, #visu2 {
height : 50%;
}
}
#visu2 {
max-height: calc(~"100%" - @margin)
}
......
......@@ -100,6 +100,7 @@ Builder.prototype = {
},
updateSeparator: function () {
/*
if (this.drag_separator) {
var coordinates = [0, 0];
coordinates = d3.mouse(d3.select("#visu-container")
......@@ -117,6 +118,7 @@ Builder.prototype = {
this.resizeGraph(height)
}
*/
},
resizeGraph : function (graphSize) {
......
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