chatbot message order fix

This commit is contained in:
dawoodkhan82 2022-02-16 11:54:17 -05:00
parent 1657fc20c9
commit 7955cbab31

View File

@ -20,14 +20,8 @@
>
<div class="flex flex-col items-end space-y-4 p-3">
{#each value as message}
<div
class="px-3 py-2 rounded-2xl place-self-start bg-gray-300 dark:bg-gray-850 dark:text-gray-200 mr-7"
>
{message[1]}
</div>
<div class="px-3 py-2 rounded-2xl bg-yellow-500 text-white ml-7">
{message[0]}
</div>
<div class="px-3 py-2 rounded-2xl bg-yellow-500 text-white ml-7"> {message[0]} </div>
<div class="px-3 py-2 rounded-2xl place-self-start bg-gray-300 dark:bg-gray-850 dark:text-gray-200 mr-7"> {message[1]} </div>
{/each}
</div>
</div>