modified: views/project.ejs
This commit is contained in:
parent
b568c7acc1
commit
98857bc518
|
@ -352,12 +352,13 @@
|
||||||
width += document.getElementById("proj_cost").getBoundingClientRect().width;
|
width += document.getElementById("proj_cost").getBoundingClientRect().width;
|
||||||
document.getElementById("drags").append(document.getElementById("cost_div"));
|
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) + 1}px`;
|
||||||
|
document.getElementById("cost_div").style.marginTop = `4px`;
|
||||||
document.getElementById("cost_list").style.display = "block";
|
document.getElementById("cost_list").style.display = "block";
|
||||||
}
|
}
|
||||||
html2canvas(document.getElementById("drags"),{
|
html2canvas(document.getElementById("drags"),{
|
||||||
y:7,
|
y:5,
|
||||||
x:2,
|
x:0,
|
||||||
width:width,
|
width:(width+2),
|
||||||
logging:false
|
logging:false
|
||||||
// scale:0.99
|
// scale:0.99
|
||||||
}).then(canvas => {
|
}).then(canvas => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user