style: add top and bottom margin to Download PDF button

This commit is contained in:
adrianbonpin
2026-08-18 19:31:27 +08:00
parent cb2beecc0e
commit bf4e7170a6
+1 -1
View File
@@ -180,7 +180,7 @@
btn.id = BTN_ID; btn.id = BTN_ID;
btn.type = 'button'; btn.type = 'button';
btn.className = 'btn green pull-right'; btn.className = 'btn green pull-right';
btn.style.marginTop = '10px'; btn.style.margin = '10px 0';
btn.innerHTML = '<i class="fa fa-download"></i> Download PDF'; btn.innerHTML = '<i class="fa fa-download"></i> Download PDF';
btn.addEventListener('click', onDownloadPdf); btn.addEventListener('click', onDownloadPdf);
unitsP.insertAdjacentElement('afterend', btn); unitsP.insertAdjacentElement('afterend', btn);