From d8797988714fb8f84ccd5178639ec21c06eedc63 Mon Sep 17 00:00:00 2001 From: n0rdye Date: Sun, 3 Dec 2023 14:41:35 +0000 Subject: [PATCH] modified: views/project.ejs --- views/project.ejs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/views/project.ejs b/views/project.ejs index ca74c49..6b45da0 100644 --- a/views/project.ejs +++ b/views/project.ejs @@ -351,14 +351,14 @@ if(cost == true){ width += document.getElementById("proj_cost").getBoundingClientRect().width; document.getElementById("drags").append(document.getElementById("cost_div")); - document.getElementById("cost_div").style.marginLeft = `${parseInt(document.getElementById("wall").style.width) + 1}px`; + document.getElementById("cost_div").style.marginLeft = `${parseInt(document.getElementById("wall").style.width) + 4}px`; document.getElementById("cost_div").style.marginTop = `4px`; document.getElementById("cost_list").style.display = "block"; } html2canvas(document.getElementById("drags"),{ - y:5, + y:6, x:0, - width:(width+2), + width:(width+5), logging:false // scale:0.99 }).then(canvas => {