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