This commit is contained in:
Timothy Jaeryang Baek 2024-12-22 22:39:44 -07:00
parent e93b37bab1
commit e9194d9524

View File

@ -60,12 +60,12 @@
</Loader> </Loader>
{:else} {:else}
<div <div
class="px-5 py-5 class="px-5
{($settings?.widescreenMode ?? null) ? 'max-w-full' : 'max-w-5xl'} mx-auto" {($settings?.widescreenMode ?? null) ? 'max-w-full' : 'max-w-5xl'} mx-auto"
> >
{#if channel} {#if channel}
<div class="flex flex-col py-1 gap-1.5"> <div class="flex flex-col py-1 gap-1.5 py-5">
<div class="text-2xl font-medium capitalize">{channel.name}</div> <div class="text-2xl font-medium capitalize">{channel.name}</div>
<div class=" text-gray-500"> <div class=" text-gray-500">
@ -76,15 +76,15 @@
</div> </div>
</div> </div>
{:else} {:else}
<div class="flex justify-center py-1 text-xs items-center gap-2"> <div class="flex justify-center py-1 text-xs items-center gap-2 py-5">
<div class=" ">Start of the channel</div> <div class=" ">Start of the channel</div>
</div> </div>
{/if} {/if}
</div>
{#if messageList.length > 0} {#if messageList.length > 0}
<hr class=" border-gray-50 dark:border-gray-700/20 py-2.5 w-full" /> <hr class=" border-gray-50 dark:border-gray-700/20 py-2.5 w-full" />
{/if} {/if}
</div>
{/if} {/if}
{#each messageList as message, messageIdx (message.id)} {#each messageList as message, messageIdx (message.id)}