diff --git a/assets/js/graph.ts b/assets/js/graph.ts index 379effab..6c59a505 100644 --- a/assets/js/graph.ts +++ b/assets/js/graph.ts @@ -16,7 +16,7 @@ function resizeGraphs() { const graph: SVGPathElement | null = $('#js-barline-graph', el); if (graph) { - graph.style.transform = `scale(${parent.clientWidth / 375})`; + graph.style.transform = `scaleX(${parent.clientWidth / 375})`; } } });