Changed the Panel of the reading to use scroll
This commit is contained in:
@@ -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>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user