style: add top and bottom margin to Download PDF button
This commit is contained in:
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user