refac: citation styling

This commit is contained in:
Timothy J. Baek 2024-05-06 17:02:04 -07:00
parent 9b59039388
commit 66e7e577df
1 changed files with 2 additions and 2 deletions

View File

@ -470,8 +470,8 @@
} -->
{#if message.citations}
<hr class=" dark:border-gray-800 mt-1" />
<div class="my-2.5 w-full flex overflow-x-auto gap-2 flex-wrap">
<hr class=" dark:border-gray-800 my-1" />
<div class="my-2.5 w-full flex flex-col gap-1">
{#each message.citations.reduce((acc, citation) => {
citation.document.forEach((document, index) => {
const metadata = citation.metadata?.[index];