Skip to content

Commit

Permalink
Fix video height.
Browse files Browse the repository at this point in the history
  • Loading branch information
tranthihaiyen102 committed Dec 5, 2022
1 parent ac63bc7 commit 3bd9ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/PostMedia.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<div bind:this={mediaCarousel} class="carousel">
{#each videos as src, i}
<div id={genId('media', i)} class="carousel-item w-full">
<video class="w-full my-auto" controls>
<video class="w-full my-auto max-h-[30rem]" controls>
<track kind="captions" />
<source {src} type="video/mp4" />
Failed to load video
Expand Down

0 comments on commit 3bd9ec5

Please sign in to comment.