refac: citations styling

This commit is contained in:
Timothy J. Baek 2024-05-27 15:10:38 -07:00
parent 5de2b00064
commit e2e96b5776

View File

@ -490,7 +490,7 @@
{/if}
{#if message.citations}
<div class="mt-1 mb-2 w-full flex gap-1 items-center">
<div class="mt-1 mb-2 w-full flex gap-1 items-center flex-wrap">
{#each message.citations.reduce((acc, citation) => {
citation.document.forEach((document, index) => {
const metadata = citation.metadata?.[index];