From 9f7ea648fe921b3b04c6b629231b401e82b20072 Mon Sep 17 00:00:00 2001 From: Lucas Santana Date: Wed, 29 Jan 2025 14:22:35 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20Ajustando=20visualiza=C3=A7=C3=A3o=20da?= =?UTF-8?q?=20p=C3=A1gina=20de=20leitura=20de=20hist=C3=B3ria?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/student-dashboard/StoryPage.tsx | 26 ++++++++++++----------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/pages/student-dashboard/StoryPage.tsx b/src/pages/student-dashboard/StoryPage.tsx index 3ae28eb..7a98745 100644 --- a/src/pages/student-dashboard/StoryPage.tsx +++ b/src/pages/student-dashboard/StoryPage.tsx @@ -854,10 +854,10 @@ export function StoryPage() {

{story?.title}

- {/* Container de duas colunas */} -
- {/* 3. Texto da História - Coluna Esquerda (40%) */} -
+ {/* Container responsivo */} +
+ {/* 3. Texto da História - Coluna Esquerda (40% em desktop) */} +
- {/* 5. Imagem da História - Coluna Direita (60%) */} + {/* 5. Imagem da História - Coluna Direita (60% em desktop) */} {!focusMode.isActive && ( -
+
{story?.content?.pages?.[currentPage]?.image ? ( -
+
- + Página {currentPage + 1} de {story?.content?.pages?.length}