a11y: improve accessibility

This commit is contained in:
Xyphyn committed 2023-07-29 19:59:55 -07:00
1 parent 5847a507fd
commit e1ac96def3
4 files changed
+5 -3

No files matched your search

+2 -1
View File
@@ -97,13 +97,14 @@
class="object-cover bg-slate-100 rounded-md max-h-[50vh] w-full"
width={512}
height={300}
alt=""
/>
</picture>
</div>
{:else if post.post.thumbnail_url && post.post.url}
<PostLink
url={post.post.url}
thumbnail_url={post.post.thumbnail_url}
thumbnail_url="{post.post.thumbnail_url}?format=webp&thumbnail=512"
nsfw={post.post.nsfw}
/>
{/if}