modified: views/project.ejs

This commit is contained in:
n0rdye 2023-11-29 15:42:03 +00:00
parent b568c7acc1
commit 98857bc518

View File

@ -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 => {