refac: styling

This commit is contained in:
Timothy J. Baek 2024-08-16 00:21:57 +02:00
parent 8ea1a10525
commit d224566957

View File

@ -165,13 +165,13 @@
</div> </div>
{:else} {:else}
<div class="w-full"> <div class="w-full">
<div class="flex {($settings?.chatBubble ?? true) ? 'justify-end' : ''} pb-2"> <div class="flex {($settings?.chatBubble ?? true) ? 'justify-end pb-1' : 'w-full'}">
<div <div
class="rounded-3xl {($settings?.chatBubble ?? true) class="rounded-3xl {($settings?.chatBubble ?? true)
? `max-w-[90%] px-5 py-2 bg-gray-50 dark:bg-gray-850 ${ ? `max-w-[90%] px-5 py-2 bg-gray-50 dark:bg-gray-850 ${
message.files ? 'rounded-tr-lg' : '' message.files ? 'rounded-tr-lg' : ''
}` }`
: ''}" : ' w-full'}"
> >
{#if message.content} {#if message.content}
<div class=""> <div class="">