fix: neutralize bold weight in markdown preview
This commit is contained in:
@@ -498,7 +498,7 @@ export function MarkdownEditor({
|
|||||||
<hr className="my-8 border-0 h-px bg-gradient-to-r from-transparent via-[var(--border)] to-transparent" />
|
<hr className="my-8 border-0 h-px bg-gradient-to-r from-transparent via-[var(--border)] to-transparent" />
|
||||||
),
|
),
|
||||||
strong: ({ children }) => (
|
strong: ({ children }) => (
|
||||||
<strong className="font-bold text-[var(--foreground)] bg-gradient-to-r from-[var(--primary)]/20 to-[var(--accent)]/20 px-1 py-0.5 rounded">
|
<strong className="font-bold text-[var(--foreground)]">
|
||||||
{children}
|
{children}
|
||||||
</strong>
|
</strong>
|
||||||
),
|
),
|
||||||
@@ -685,7 +685,7 @@ export function MarkdownEditor({
|
|||||||
<hr className="my-8 border-0 h-px bg-gradient-to-r from-transparent via-[var(--border)] to-transparent" />
|
<hr className="my-8 border-0 h-px bg-gradient-to-r from-transparent via-[var(--border)] to-transparent" />
|
||||||
),
|
),
|
||||||
strong: ({ children }) => (
|
strong: ({ children }) => (
|
||||||
<strong className="font-bold text-[var(--foreground)] bg-gradient-to-r from-[var(--primary)]/20 to-[var(--accent)]/20 px-1 py-0.5 rounded">
|
<strong className="font-bold text-[var(--foreground)]">
|
||||||
{children}
|
{children}
|
||||||
</strong>
|
</strong>
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user