fix: quiz scroll issue in lessons

This commit is contained in:
Jannat Patel
2026-04-11 19:54:57 +05:30
parent ec5e45e6c6
commit 411b400d04
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@
</ol>
</div>
<div v-if="quiz.data.duration" class="flex flex-col space-x-1 my-4">
<div v-if="quiz.data.duration" class="flex flex-col space-x-1 my-4 px-2">
<div class="mb-2">
<span class="text-ink-gray-9"> {{ __('Time') }}: </span>
<span class="font-semibold text-ink-gray-9">

View File

@@ -46,7 +46,7 @@ export class Quiz {
renderQuiz(quiz) {
if (this.readOnly) {
const quizPath = getLmsRoute(`quiz/${quiz}?fromLesson=1`)
this.wrapper.innerHTML = `<iframe src="${quizPath}" class="w-full h-[500px]"></iframe>`
this.wrapper.innerHTML = `<iframe src="${quizPath}" class="w-full h-[700px]"></iframe>`
return
}
this.wrapper.innerHTML = `<div class='border rounded-md p-4 text-center bg-surface-menu-bar mb-4'>