fix: classes
This commit is contained in:
@@ -8,7 +8,7 @@ import React from 'react'
|
|||||||
import Markdown from 'markdown-to-jsx/react'
|
import Markdown from 'markdown-to-jsx/react'
|
||||||
|
|
||||||
const MARKDOWN_PREVIEW_CLASS =
|
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 = {
|
export type MarkdownJsxViewProps = {
|
||||||
/** Raw markdown string (e.g. resolved content from config node). */
|
/** Raw markdown string (e.g. resolved content from config node). */
|
||||||
|
|||||||
Reference in New Issue
Block a user