From 3fc33ab5cae7fa6c87e946a45ef59f585a2bf519 Mon Sep 17 00:00:00 2001 From: "C. Bluoss" Date: Sun, 25 Dec 2016 23:47:49 +0100 Subject: [PATCH] Update status.html / responsive Quick fix for a responsive using viewBox instead of width/height. --- status.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/status.html b/status.html index 58fcc30..23b387a 100644 --- a/status.html +++ b/status.html @@ -182,8 +182,7 @@ layout: default .range(colors); var svg = d3.select("#chart").append("svg") - .attr("width", width + margin.left + margin.right) - .attr("height", height + margin.top + margin.bottom) + .attr("viewBox", "0 0 960 430") .append("g") .attr("transform", "translate(" + margin.left + "," + margin.top + ")");