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 },