Skip to content

Commit

Permalink
style: change height of SCORM iframe so that user don't have to scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
FahidLatheef committed Jan 22, 2025
1 parent 19e5136 commit 2ce2df6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/pages/SCORMChapter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
user.data?.is_instructor)
"
>
<iframe :src="chapter.doc.launch_file" class="w-full h-screen" />
<iframe
:src="chapter.doc.launch_file"
class="w-full h-[calc(100vh-3.00rem)]"
/>
</div>
<div v-else-if="!enrollment.data?.length">
<div class="text-center pt-10 px-5 md:px-0 pb-10">
Expand Down

0 comments on commit 2ce2df6

Please sign in to comment.