feat: switch to svh

This commit is contained in:
Xyphyn committed 2023-08-05 13:18:21 -07:00
1 parent 5c04bdb677
commit d59060ab35
6 files changed
+19 -12

No files matched your search

@@ -102,11 +102,11 @@
<img
src={post.url}
alt={post.name}
class="rounded-md max-w-screen max-h-[80vh] mx-auto"
class="rounded-md max-w-screen max-h-[80svh] mx-auto"
/>
{:else if isVideo(post.url)}
<!-- svelte-ignore a11y-media-has-caption -->
<video class="rounded-md max-w-screen max-h-[80vh] mx-auto" controls>
<video class="rounded-md max-w-screen max-h-[80svh] mx-auto" controls>
<source src={post.url} />
</video>
{:else if post.url && !post.thumbnail_url}