From 0374d0482b33991703cab7229e81ccdfa8d5b595 Mon Sep 17 00:00:00 2001 From: "Luna D." Date: Fri, 31 May 2024 20:21:45 +0200 Subject: [PATCH] scale x --- assets/js/graph.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})`; } } });