refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2024-12-24 20:16:02 -07:00
parent f8269de947
commit e61943f55f

View File

@ -126,13 +126,13 @@
<div class="flex-auto w-0 pl-1"> <div class="flex-auto w-0 pl-1">
{#if showUserProfile} {#if showUserProfile}
<Name> <Name>
<div class="text-sm"> <div class=" self-end text-base font-medium">
{message?.user?.name} {message?.user?.name}
</div> </div>
{#if message.created_at} {#if message.created_at}
<div <div
class=" self-center text-xs invisible group-hover:visible text-gray-400 font-medium first-letter:capitalize ml-0.5 -mt-0.5" class=" self-center text-xs invisible group-hover:visible text-gray-400 font-medium first-letter:capitalize ml-0.5 translate-y-[1px]"
> >
<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')}