From 98857bc5180115fbff73324a51e229523f5e3745 Mon Sep 17 00:00:00 2001 From: n0rdye Date: Wed, 29 Nov 2023 15:42:03 +0000 Subject: [PATCH] modified: views/project.ejs --- views/project.ejs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/views/project.ejs b/views/project.ejs index 7a9c635..ca74c49 100644 --- a/views/project.ejs +++ b/views/project.ejs @@ -352,12 +352,13 @@ 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.marginTop = `4px`; document.getElementById("cost_list").style.display = "block"; } html2canvas(document.getElementById("drags"),{ - y:7, - x:2, - width:width, + y:5, + x:0, + width:(width+2), logging:false // scale:0.99 }).then(canvas => {