Co-Authored-By: twheel <100867139+whatisdata@users.noreply.github.com>
This commit is contained in:
Timothy Jaeryang Baek
2026-04-20 08:59:30 +09:00
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)