Remove scrollbar by restricting the height
This commit is contained in:
parent
b2b5bcc1a9
commit
10449ebed3
|
|
@ -6,10 +6,9 @@ const props = defineProps<{
|
|||
content: LearningContent;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<LearningContentSimpleLayout :learning-content="props.content">
|
||||
<div class="h-screen">
|
||||
<div class="h-[calc(100vh-222px)] md:h-[calc(100vh-238px)]">
|
||||
<iframe width="100%" height="100%" :src="props.content.content_url" />
|
||||
</div>
|
||||
</LearningContentSimpleLayout>
|
||||
|
|
|
|||
Loading…
Reference in New Issue