pan/zoom in forcelayout

This commit is contained in:
Nils Schneider 2015-03-31 21:18:06 +02:00
commit d2fe76f736
3 changed files with 83 additions and 19 deletions

View file

@ -55,3 +55,8 @@
}
}
@media screen and (max-width: $minscreenwidth) {
.graph {
height: 60vh;
}
}

View file

@ -1,5 +1,8 @@
@import '_leaflet';
@import '_leaflet.label';
$minscreenwidth: 60em;
@import '_forcegraph';
.stroke-first {
@ -284,7 +287,7 @@ button.close:after {
}
}
@media screen and (max-width: 60em) {
@media screen and (max-width: $minscreenwidth) {
.sidebar .container {
overflow: visible;
height: auto;