enh: update channel

This commit is contained in:
Timothy Jaeryang Baek
2024-12-22 23:09:51 -07:00
parent e9194d9524
commit 7ad8918cd9
9 changed files with 192 additions and 35 deletions

View File

@@ -65,7 +65,7 @@
{($settings?.widescreenMode ?? null) ? 'max-w-full' : 'max-w-5xl'} mx-auto"
>
{#if channel}
<div class="flex flex-col py-1 gap-1.5 py-5">
<div class="flex flex-col gap-1.5 py-5">
<div class="text-2xl font-medium capitalize">{channel.name}</div>
<div class=" text-gray-500">
@@ -76,7 +76,7 @@
</div>
</div>
{:else}
<div class="flex justify-center py-1 text-xs items-center gap-2 py-5">
<div class="flex justify-center text-xs items-center gap-2 py-5">
<div class=" ">Start of the channel</div>
</div>
{/if}

View File

@@ -70,7 +70,7 @@
{#if message.created_at}
<span
class=" self-center invisible group-hover:visible text-gray-400 text-xs font-medium capitalize ml-0.5 -mt-0.5"
class=" self-center invisible group-hover:visible text-gray-400 text-xs font-medium first-letter:capitalize ml-0.5 -mt-0.5"
>
{formatDate(message.created_at / 1000000)}
</span>