Skip to content

Commit 953ee56

Browse files
committed
fix: youtube video size
1 parent a84780e commit 953ee56

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

guide/why.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,6 @@ $ npm init slidev
6666

6767
Or have a quick preview of it:
6868

69-
<iframe width="560" height="315" src="https://www.youtube.com/embed/eW7v-2ZKZOU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
69+
<div class="aspect-9/16 relative">
70+
<iframe class="rounded w-full shadow-md border-none" src="https://www.youtube.com/embed/eW7v-2ZKZOU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
71+
</div>

0 commit comments

Comments
 (0)