Browse Source

Update status.html / responsive <svg>

Quick fix for a responsive <svg> using viewBox instead of width/height.
master
C. Bluoss 5 years ago
committed by GitHub
parent
commit
3fc33ab5ca
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      status.html

+ 1
- 2
status.html View File

@ -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 + ")");


Loading…
Cancel
Save