refac
Co-Authored-By: twheel <100867139+whatisdata@users.noreply.github.com>
This commit is contained in:
co-authored by
twheel
parent
47329b5032
commit
c3c857a3ec
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user