Skip to content

Commit 2ce2df6

Browse files
committed
style: change height of SCORM iframe so that user don't have to scroll
1 parent 19e5136 commit 2ce2df6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

frontend/src/pages/SCORMChapter.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
user.data?.is_instructor)
1313
"
1414
>
15-
<iframe :src="chapter.doc.launch_file" class="w-full h-screen" />
15+
<iframe
16+
:src="chapter.doc.launch_file"
17+
class="w-full h-[calc(100vh-3.00rem)]"
18+
/>
1619
</div>
1720
<div v-else-if="!enrollment.data?.length">
1821
<div class="text-center pt-10 px-5 md:px-0 pb-10">

0 commit comments

Comments
 (0)