diff --git a/uhepp-js/src/components/UheppHist.jsx b/uhepp-js/src/components/UheppHist.jsx
index 5da414af11d8e12cd0784d3ee16a558ac750c4b5..5593ac7d31320f49cf1f6fcc6ab9c7dd039e0ea4 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 &&