mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
oh
This commit is contained in:
parent
23c1a3d565
commit
979c355d9c
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ function resizeGraphs() {
|
||||||
const graph: SVGPathElement | null = $<SVGPathElement>('#js-barline-graph', el);
|
const graph: SVGPathElement | null = $<SVGPathElement>('#js-barline-graph', el);
|
||||||
|
|
||||||
if (graph) {
|
if (graph) {
|
||||||
graph.setAttribute('style', `transform: scale(${parent.clientWidth / 375});`);
|
graph.style.transform = `scale(${parent.clientWidth / 375})`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue