diff --git a/html/force.css b/html/force.css index 0a82b3b..88ce4d5 100644 --- a/html/force.css +++ b/html/force.css @@ -12,5 +12,7 @@ line.link { stroke-opacity: 1; } -#chart { +#chart, #chart svg { + display: block; + vertical-align: middle; } diff --git a/html/force.js b/html/force.js index dca2406..de8fb72 100644 --- a/html/force.js +++ b/html/force.js @@ -12,7 +12,7 @@ function getOffset( el ) { var offset = getOffset(document.getElementById('chart')); var w = window.innerWidth - offset.left, - h = window.innerHeight - offset.top - 24, + h = window.innerHeight - offset.top, fill = d3.scale.category20(); var vis = d3.select("#chart").append("svg") diff --git a/html/geomap.html b/html/geomap.html index 7b54570..7ea2977 100644 --- a/html/geomap.html +++ b/html/geomap.html @@ -1,6 +1,7 @@
+