Ver código fonte

refac: citation styling

Timothy J. Baek 1 ano atrás
pai
commit
66e7e577df

+ 2 - 2
src/lib/components/chat/Messages/ResponseMessage.svelte

@@ -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];