From 8a5ceeb69b94ef6a0c4b27f197958509c78a8d64 Mon Sep 17 00:00:00 2001 From: Weslley Barros Date: Mon, 11 Dec 2023 14:09:03 -0300 Subject: [PATCH] chore: remove botao de download --- frontend/src/pages/ViewPlan.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/ViewPlan.tsx b/frontend/src/pages/ViewPlan.tsx index 7bff6ad..f8ce77b 100644 --- a/frontend/src/pages/ViewPlan.tsx +++ b/frontend/src/pages/ViewPlan.tsx @@ -262,6 +262,7 @@ const ViewPlan = () => { // Adicionar os dados do plano de aula ao HTML const planDiv = document.createElement('div'); + planDiv.style.margin = '50px' planDiv.innerHTML = `

${planUpdated.title}



@@ -290,13 +291,14 @@ const ViewPlan = () => {

${drillData.observations}



- `; + + `; container.appendChild(drillDiv); }); // Configurar as opções do html2pdf const options = { - margin: 10, + filename: 'plano_de_aula_com_drills.pdf', image: { type: 'jpeg', quality: 0.98 }, html2canvas: { scale: 2 },