fix: overflowing video, close #407

This commit is contained in:
Xylight committed 2024-08-18 13:58:41 -07:00
1 parent 486a0bddb9
commit cedfb53ba2
2 files changed
+2 -2

No files matched your search

@@ -102,7 +102,7 @@
{#if opened}
{#if type == 'video'}
<!-- svelte-ignore a11y-media-has-caption -->
<video {autoplay} controls class="rounded-xl aspect-video">
<video {autoplay} controls class="rounded-xl aspect-video {$$props.class}">
<source src={url} />
</video>
{:else}
@@ -24,7 +24,7 @@
url={href}
opened={true}
autoplay={false}
class="w-full"
class="w-auto h-auto max-h-80 inline-block rounded-lg"
/>
{:else}
<button