mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-24 10:54:04 +08:00
chatbot message order fix
This commit is contained in:
parent
1657fc20c9
commit
7955cbab31
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user