misc: Update relative dates

This commit is contained in:
Xyphyn committed 2023-07-06 13:00:20 -07:00
1 parent 4899accfcf
commit e259ceb6e4
5 files changed
+60 -15

No files matched your search

+6 -2
View File
@@ -50,7 +50,11 @@
<Card class="bg-white flex flex-col overflow-hidden w-full relative">
<div class="flex flex-col gap-2 bg-white dark:bg-zinc-900 p-4 rounded-md">
<span class="flex flex-row gap-2 text-xs items-center">
<Avatar url={postRes.community.icon ?? ''} alt="" width={24} />
<Avatar
url={postRes.community.icon}
alt={postRes.community.title}
width={24}
/>
<div class="flex flex-col">
<CommunityLink community={postRes.community} />
<span class="opacity-60 flex flex-row gap-1">
@@ -82,7 +86,7 @@
<img
src={postRes.post.url}
alt={postRes.post.name}
class="rounded-md max-h-64 max-w-full"
class="rounded-md max-h-[32rem] w-full max-w-full"
loading="lazy"
/>
</a>