fix. 유튜브 영상 사이즈 조절
This commit is contained in:
@@ -43,11 +43,8 @@ onUnmounted(() => {
|
||||
@click="handleOutsideClick"
|
||||
>
|
||||
<div
|
||||
class="relative mx-4 my-4"
|
||||
style="
|
||||
width: min(896px, 90vw, calc((90vh - 2rem) * 16 / 9));
|
||||
aspect-ratio: 16/9;
|
||||
"
|
||||
class="relative sm:m-5"
|
||||
style="width: min(944px, 100%, calc((90vh - 2rem) * 16 / 9))"
|
||||
@click.stop
|
||||
>
|
||||
<!-- 헤더 -->
|
||||
@@ -58,7 +55,7 @@ onUnmounted(() => {
|
||||
</div>
|
||||
|
||||
<!-- 유튜브 영상 컨테이너 -->
|
||||
<div class="relative w-full h-full">
|
||||
<div class="relative w-full aspect-video">
|
||||
<iframe
|
||||
v-if="youtubeUrl"
|
||||
:src="youtubeUrl"
|
||||
|
||||
Reference in New Issue
Block a user