Changed the Panel of the reading to use scroll

This commit is contained in:
Tiago Ribeiro
2023-04-14 17:20:21 +01:00
parent b0c2b3df0e
commit b92922b6cd
2 changed files with 3 additions and 3 deletions

View File

@@ -117,8 +117,8 @@ export default function Reading({exam, showSolutions = false, onFinish}: Props)
</span>
<span className="self-end text-sm">You will be allowed to read the text while doing the exercises</span>
</div>
<Panel header={exam.text.title}>
<p>
<Panel header={exam.text.title} className="overflow-scroll">
<p className="overflow-scroll">
{exam.text.content.split("\\n").map((line, index) => (
<p key={index}>{line}</p>
))}