diff --git a/xg.js b/xg.js
index f347b2c7a88855c9de9d45243ca2d82e32e19391..4f5f721b20f7903e38657186edcb7f8f22f696ac 100644
--- a/xg.js
+++ b/xg.js
@@ -17,7 +17,7 @@
         .attr("id", "legendContainer")
         .style("position", "absolute")
         .style("top", "160px")
-        .style("left", "850px")
+        .style("left", "880px")
         .style("width", "80px")
         .style("height", "300px")
         .style("border", "2px solid black")
@@ -44,7 +44,7 @@
     .attr("id", "infoContainer")
     .style("position", "absolute")
     .style("top", 160 + "px")
-    .style("left", (width + margin.left + margin.right + 160) + "px")
+    .style("left", (width + margin.left + margin.right + 190) + "px")
     .style("width", "260px")
     .style("height", "400px")
     .style("border", "4px solid black")