refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2025-01-02 20:28:01 -08:00
parent 0c49553f79
commit 3e9c92729d

View File

@ -178,7 +178,7 @@
<div class="flex-auto w-0 pl-1"> <div class="flex-auto w-0 pl-1">
{#if showUserProfile} {#if showUserProfile}
<Name> <Name>
<div class=" self-end text-base font-medium"> <div class=" self-end text-base shrink-0 font-medium truncate">
{message?.user?.name} {message?.user?.name}
</div> </div>
@ -189,7 +189,7 @@
<Tooltip <Tooltip
content={dayjs(message.created_at / 1000000).format('dddd, DD MMMM YYYY HH:mm')} content={dayjs(message.created_at / 1000000).format('dddd, DD MMMM YYYY HH:mm')}
> >
{formatDate(message.created_at / 1000000)} <span class="line-clamp-1">{formatDate(message.created_at / 1000000)}</span>
</Tooltip> </Tooltip>
</div> </div>
{/if} {/if}