mirror of
https://github.com/frappe/lms.git
synced 2026-04-19 22:52:29 +03:00
fix: quiz scroll issue in lessons
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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'>
|
||||
|
||||
Reference in New Issue
Block a user