refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2024-12-31 02:17:39 -08:00
parent a754a4388a
commit 77da0a6cc1

View File

@ -137,7 +137,7 @@
{#if channel} {#if channel}
<div class="flex flex-col w-full h-full bg-gray-50 dark:bg-gray-850"> <div class="flex flex-col w-full h-full bg-gray-50 dark:bg-gray-850">
<div class="flex items-center justify-between mb-2 px-3.5 py-3"> <div class="flex items-center justify-between px-3.5 py-3">
<div class=" font-medium text-lg">Thread</div> <div class=" font-medium text-lg">Thread</div>
<div> <div>
@ -152,6 +152,7 @@
</div> </div>
</div> </div>
<div class=" max-h-full w-full overflow-y-auto">
<Messages <Messages
id={threadId} id={threadId}
{channel} {channel}
@ -175,6 +176,9 @@
}} }}
/> />
<div class=" pb-[1rem]">
<MessageInput id={threadId} {typingUsers} {onChange} onSubmit={submitHandler} /> <MessageInput id={threadId} {typingUsers} {onChange} onSubmit={submitHandler} />
</div> </div>
</div>
</div>
{/if} {/if}