mirror of
https://github.com/open-webui/open-webui
synced 2025-02-18 02:57:02 +00:00
refac: citation styling
This commit is contained in:
parent
9b59039388
commit
66e7e577df
@ -470,8 +470,8 @@
|
|||||||
} -->
|
} -->
|
||||||
|
|
||||||
{#if message.citations}
|
{#if message.citations}
|
||||||
<hr class=" dark:border-gray-800 mt-1" />
|
<hr class=" dark:border-gray-800 my-1" />
|
||||||
<div class="my-2.5 w-full flex overflow-x-auto gap-2 flex-wrap">
|
<div class="my-2.5 w-full flex flex-col gap-1">
|
||||||
{#each message.citations.reduce((acc, citation) => {
|
{#each message.citations.reduce((acc, citation) => {
|
||||||
citation.document.forEach((document, index) => {
|
citation.document.forEach((document, index) => {
|
||||||
const metadata = citation.metadata?.[index];
|
const metadata = citation.metadata?.[index];
|
||||||
|
Loading…
Reference in New Issue
Block a user