From c7619d21f3ae377f1ab7b6b2eb0c16f4ebe7bf45 Mon Sep 17 00:00:00 2001 From: Frank Sauerburger <frank@sauerburger.com> Date: Mon, 31 May 2021 21:09:33 +0200 Subject: [PATCH] Reduce svg margins --- uhepp-js/src/components/UheppHist.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/uhepp-js/src/components/UheppHist.jsx b/uhepp-js/src/components/UheppHist.jsx index 5da414a..5593ac7 100644 --- a/uhepp-js/src/components/UheppHist.jsx +++ b/uhepp-js/src/components/UheppHist.jsx @@ -694,10 +694,10 @@ const UheppHistPost = ({width, height, uhepp}) => { const margin = { - top: 10, - bottom: 60, + top: 5, + bottom: 40, left: 80, - right: 80, + right: 10, sep: 3, } @@ -1000,6 +1000,7 @@ const UheppHistPost = ({width, height, uhepp}) => { </Group> } </svg> </div> + <div className="container text-right"> <canvas className="d-none" ref={canvasRef} width={canvasWidth} height={canvasHeight}></canvas> { !pngDownload && -- GitLab