From 6996571fbe623cbc140ad4a3696a222b8ee27547 Mon Sep 17 00:00:00 2001 From: JoaoBarreto03 <211039519@aluno.unb.br> Date: Mon, 11 Dec 2023 01:23:36 -0300 Subject: [PATCH] Correcao de bugs da tela de visualizar plano --- frontend/src/pages/ViewPlan.tsx | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/frontend/src/pages/ViewPlan.tsx b/frontend/src/pages/ViewPlan.tsx index 44fa08b..7bff6ad 100644 --- a/frontend/src/pages/ViewPlan.tsx +++ b/frontend/src/pages/ViewPlan.tsx @@ -263,15 +263,15 @@ const ViewPlan = () => { // Adicionar os dados do plano de aula ao HTML const planDiv = document.createElement('div'); planDiv.innerHTML = ` -

${planUpdated.title}

+

${planUpdated.title}



-

Objetivos

-

${planUpdated.goals}

+

Objetivos

+

${planUpdated.goals}



-

Observações

-

${planUpdated.observations}

+

Observações

+

${planUpdated.observations}



-

Drills

+

Drills

`; container.appendChild(planDiv); @@ -281,13 +281,13 @@ const ViewPlan = () => { const drillDiv = document.createElement('div'); drillDiv.innerHTML = `

-

${drillData.title}

+

${drillData.title}



-

Descrição

-

${drillData.description}

+

Descrição

+

${drillData.description}



-

Observações

-

${drillData.observations}

+

Observações

+

${drillData.observations}



`; @@ -349,7 +349,7 @@ const ViewPlan = () => { onClick={startEditingTitle} className="clickableIcon" />{' '} - @@ -374,7 +374,7 @@ const ViewPlan = () => { />{' '} )} -
+

Objetivos

{goalsNotEdited ? ( @@ -404,7 +404,7 @@ const ViewPlan = () => { marginRight: '5em', borderRadius: '1em', marginTop: '5em', - color: 'white' + color: 'white', }}> {goalsNotEdited ? (