From b92922b6cdc4d03f54fc602abb5cbe295f3b8c23 Mon Sep 17 00:00:00 2001 From: Tiago Ribeiro Date: Fri, 14 Apr 2023 17:20:21 +0100 Subject: [PATCH] Changed the Panel of the reading to use scroll --- src/exams/Reading.tsx | 4 ++-- src/pages/exam/index.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/exams/Reading.tsx b/src/exams/Reading.tsx index f57d4d5b..f2cf6270 100644 --- a/src/exams/Reading.tsx +++ b/src/exams/Reading.tsx @@ -117,8 +117,8 @@ export default function Reading({exam, showSolutions = false, onFinish}: Props) You will be allowed to read the text while doing the exercises - -

+ +

{exam.text.content.split("\\n").map((line, index) => (

{line}

))} diff --git a/src/pages/exam/index.tsx b/src/pages/exam/index.tsx index dae93891..e61782b9 100644 --- a/src/pages/exam/index.tsx +++ b/src/pages/exam/index.tsx @@ -133,7 +133,7 @@ export default function Page({user}: {user: User}) { -
+
{renderScreen()}