fix: classes

This commit is contained in:
2026-03-12 23:38:13 +01:00
parent 4dca9c6478
commit 2ff7e1f5f2

View File

@@ -8,7 +8,7 @@ import React from 'react'
import Markdown from 'markdown-to-jsx/react'
const MARKDOWN_PREVIEW_CLASS =
'rendering-markdown min-h-0 flex-1 w-full overflow-auto p-3 text-sm [&_h1]:text-xl [&_h2]:text-lg [&_h3]:text-base [&_ul]:list-disc [&_ol]:list-decimal [&_ul]:pl-5 [&_ol]:pl-5 [&_p]:my-2 [&_pre]:bg-muted [&_pre]:p-2 [&_pre]:rounded text-muted-foreground'
'rendering-markdown min-h-0 flex-1 w-full overflow-auto p-3 text-sm nodrag nopan overflow-auto [&_h1]:text-xl [&_h2]:text-lg [&_h3]:text-base [&_ul]:list-disc [&_ol]:list-decimal [&_ul]:pl-5 [&_ol]:pl-5 [&_p]:my-2 [&_pre]:bg-muted [&_pre]:p-2 [&_pre]:rounded text-muted-foreground'
export type MarkdownJsxViewProps = {
/** Raw markdown string (e.g. resolved content from config node). */