forked from Chaospott/site
		
	Update status.html / responsive <svg>
Quick fix for a responsive <svg> using viewBox instead of width/height.
This commit is contained in:
		@@ -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 + ")");
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user