mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 22:05:19 +00:00
fix: styling
This commit is contained in:
parent
f58eb0d266
commit
e3a49c8e9b
2 changed files with 1 additions and 19 deletions
|
|
@ -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 a new issue