mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-07 02:58:21 +00:00
refac
Co-Authored-By: twheel <100867139+whatisdata@users.noreply.github.com>
This commit is contained in:
parent
47329b5032
commit
c3c857a3ec
1 changed files with 3 additions and 1 deletions
|
|
@ -228,7 +228,9 @@
|
|||
rawContent.length > CONTENT_PREVIEW_LIMIT &&
|
||||
!expandedDocs.has(documentIdx)}
|
||||
{#if $settings?.renderMarkdownInPreviews ?? true}
|
||||
<div class="text-sm prose dark:prose-invert max-w-full">
|
||||
<div
|
||||
class="text-sm prose dark:prose-invert markdown-prose-sm min-w-full max-w-full"
|
||||
>
|
||||
<Markdown
|
||||
content={isTruncated
|
||||
? rawContent.slice(0, CONTENT_PREVIEW_LIMIT)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue