refac: channel input

This commit is contained in:
Timothy Jaeryang Baek
2025-09-12 21:43:05 +04:00
parent b2623c9799
commit 06c1426e14
11 changed files with 567 additions and 637 deletions
@@ -138,9 +138,7 @@
id="message-{message.id}"
dir={$settings.chatDirection}
>
<div
class={`shrink-0 ${($settings?.chatDirection ?? 'LTR') === 'LTR' ? 'mr-3' : 'ml-3'} w-9`}
>
<div class={`shrink-0 mr-3 w-9`}>
{#if showUserProfile}
<ProfilePreview user={message.user}>
<ProfileImage
@@ -198,7 +196,7 @@
name={file.name}
type={file.type}
size={file?.size}
colorClassName="bg-white dark:bg-gray-850 "
small={true}
/>
{/if}
</div>