Skip to content

Commit 80204e0

Browse files
committed
fix: add ratio wrapper for embedded videos so they don't overflow out of parent container
1 parent 049a8e9 commit 80204e0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
<video controls>
2-
<source src="{url}" type="{contentType}">
3-
</video>
1+
<div class="ratio ratio-16x9">
2+
<video controls>
3+
<source src="{url}" type="{contentType}">
4+
</video>
5+
</div>

0 commit comments

Comments
 (0)