diff --git a/src/exams/Reading.tsx b/src/exams/Reading.tsx index 4856f774..2f9dca57 100644 --- a/src/exams/Reading.tsx +++ b/src/exams/Reading.tsx @@ -48,12 +48,12 @@ function TextModal({isOpen, title, content, onClose}: {isOpen: boolean; title: s leave="ease-in duration-200" leaveFrom="opacity-100 scale-100" leaveTo="opacity-0 scale-95"> - + {title} -
-

+

+

{content.split("\\n").map((line, index) => ( {line} @@ -63,13 +63,10 @@ function TextModal({isOpen, title, content, onClose}: {isOpen: boolean; title: s

-
- +
+
@@ -177,6 +174,15 @@ export default function Reading({exam, showSolutions = false, onFinish}: Props) exerciseIndex < exam.exercises.length && showSolutions && renderSolution(exam.exercises[exerciseIndex], nextExercise, previousExercise)} + {exerciseIndex > -1 && exerciseIndex < exam.exercises.length && ( + + )}
{exerciseIndex === -1 && (