mirror of
https://github.com/open-webui/open-webui
synced 2025-01-18 08:40:58 +00:00
fix: styling
This commit is contained in:
parent
f58eb0d266
commit
e3a49c8e9b
@ -451,24 +451,6 @@
|
||||
</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}
|
||||
<hr class=" dark:border-gray-800 my-1" />
|
||||
<div class="my-2.5 w-full flex flex-col gap-1">
|
||||
|
@ -140,7 +140,7 @@
|
||||
</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">
|
||||
{$i18n.t('Overview')}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user