Fix loading and scrolling

This commit is contained in:
Jon Staab
2025-01-02 15:08:16 -08:00
parent 9e96d5e483
commit f5dced433a
8 changed files with 108 additions and 65 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
const expand = () => pushModal(ContentLinkDetail, {url}, {fullscreen: true})
</script>
<Link external href={url} class="my-2 flex">
<Link external href={url} class="my-2 inline-block">
<div class="overflow-hidden rounded-box leading-[0]">
{#if url.match(/\.(mov|webm|mp4)$/)}
<video controls src={url} class="max-h-96 object-contain object-center">
+1 -1
View File
@@ -27,7 +27,7 @@
</p>
</div>
{:else}
<p class="-mb-3 h-0 text-end text-xs opacity-75">
<p class="mb-3 h-0 text-xs opacity-75">
{formatTimestamp(event.created_at)}
</p>
{/if}