Remove scrollbar by restricting the height

This commit is contained in:
Christian Cueni 2024-03-25 09:42:21 +01:00
parent b2b5bcc1a9
commit 10449ebed3
1 changed files with 1 additions and 2 deletions

View File

@ -6,10 +6,9 @@ const props = defineProps<{
content: LearningContent; content: LearningContent;
}>(); }>();
</script> </script>
<template> <template>
<LearningContentSimpleLayout :learning-content="props.content"> <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" /> <iframe width="100%" height="100%" :src="props.content.content_url" />
</div> </div>
</LearningContentSimpleLayout> </LearningContentSimpleLayout>