design: redesign inbox items

This commit is contained in:
Xylight committed 2024-03-16 16:09:07 -07:00
1 parent e5b95f2c0e
commit 0c47988b19
5 files changed
+82 -42

No files matched your search

@@ -7,7 +7,7 @@
export let message: PrivateMessageView
</script>
<div class="flex flex-col gap-2">
<div class="flex flex-col gap-2" style={$$props.style ?? ''}>
<div class="flex flex-row gap-2 items-center flex-wrap">
<span class="font-medium text-xs">From</span>
<UserLink
@@ -42,6 +42,7 @@
<div
class="grid w-full meta {community ? 'grid-rows-2' : 'grid-rows-1'} text-xs"
style={$$props.style ?? ''}
>
{#if community}
<Subscribe let:subscribe let:subscribing>
+6 -1
View File
@@ -53,6 +53,11 @@
}
</script>
<time datetime={dateTime} title={dateTime} class={$$props.class ?? ''}>
<time
datetime={dateTime}
title={dateTime}
class={$$props.class ?? ''}
style={$$props.style ?? ''}
>
{formatRelativeDate(date)}
</time>