mirror of
https://github.com/open-webui/open-webui
synced 2025-01-19 01:06:45 +00:00
fix: styling
This commit is contained in:
parent
f58eb0d266
commit
e3a49c8e9b
@ -451,24 +451,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- if (message.citations) {
|
|
||||||
citations = message.citations.forEach((citation) => {
|
|
||||||
citation.document.forEach((document, index) => {
|
|
||||||
const metadata = citation.metadata?.[index];
|
|
||||||
const source = citation?.source?.name ?? metadata?.source ?? 'N/A';
|
|
||||||
|
|
||||||
citations[source] = citations[source] || {
|
|
||||||
source: citation.source,
|
|
||||||
document: [],
|
|
||||||
metadata: []
|
|
||||||
};
|
|
||||||
|
|
||||||
citations[source].document.push(document);
|
|
||||||
citations[source].metadata.push(metadata);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
} -->
|
|
||||||
|
|
||||||
{#if message.citations}
|
{#if message.citations}
|
||||||
<hr class=" dark:border-gray-800 my-1" />
|
<hr class=" dark:border-gray-800 my-1" />
|
||||||
<div class="my-2.5 w-full flex flex-col gap-1">
|
<div class="my-2.5 w-full flex flex-col gap-1">
|
||||||
|
@ -140,7 +140,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="px-5 flex text-sm gap-2.5">
|
<div class="px-6 flex text-sm gap-2.5">
|
||||||
<div class="py-3 border-b font-medium text-gray-100 cursor-pointer">
|
<div class="py-3 border-b font-medium text-gray-100 cursor-pointer">
|
||||||
{$i18n.t('Overview')}
|
{$i18n.t('Overview')}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user