字体大小修改

This commit is contained in:
fengxiangdebaozi committed 2026-06-04 20:49:32 +08:00
1 parent 90bced3ed2
commit cca3d8eb41
5 files changed
+116 -55

No files matched your search

@@ -119,16 +119,16 @@ export const sharedMarkdownComponents = {
<li className="leading-snug">{children}</li>
),
h1: ({ children }: { children?: React.ReactNode }) => (
<h1 className="text-sm font-bold mt-2 mb-1">{children}</h1>
<h1 className="text-lg font-bold mt-2 mb-1">{children}</h1>
),
h2: ({ children }: { children?: React.ReactNode }) => (
<h2 className="text-sm font-bold mt-2 mb-1">{children}</h2>
<h2 className="text-base font-bold mt-2 mb-1">{children}</h2>
),
h3: ({ children }: { children?: React.ReactNode }) => (
<h3 className="text-sm font-bold mt-1.5 mb-0.5">{children}</h3>
<h3 className="roundtable-chat-message font-bold mt-1.5 mb-0.5">{children}</h3>
),
h4: ({ children }: { children?: React.ReactNode }) => (
<h4 className="text-sm font-bold mt-1 mb-0.5">{children}</h4>
<h4 className="roundtable-chat-message font-bold mt-1 mb-0.5">{children}</h4>
),
strong: ({ children }: { children?: React.ReactNode }) => (
<strong className="font-bold text-slate-900">{children}</strong>