mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-29 09:00:18 +09:00
fix: font size error
This commit is contained in:
parent
02abc42682
commit
148f763769
@ -123,7 +123,7 @@ function _MarkDownContent(props: { content: string; imageBase64?: string }) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div style={{ fontSize: "inherit" }}>
|
||||||
{props.imageBase64 && <img src={props.imageBase64} alt="" />}
|
{props.imageBase64 && <img src={props.imageBase64} alt="" />}
|
||||||
<ReactMarkdown
|
<ReactMarkdown
|
||||||
remarkPlugins={[RemarkMath, RemarkGfm, RemarkBreaks]}
|
remarkPlugins={[RemarkMath, RemarkGfm, RemarkBreaks]}
|
||||||
@ -167,7 +167,7 @@ export function Markdown(
|
|||||||
} & React.DOMAttributes<HTMLDivElement>,
|
} & React.DOMAttributes<HTMLDivElement>,
|
||||||
) {
|
) {
|
||||||
const mdRef = useRef<HTMLDivElement>(null);
|
const mdRef = useRef<HTMLDivElement>(null);
|
||||||
|
console.log("[fontSize]", props.fontSize);
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className="markdown-body"
|
className="markdown-body"
|
||||||
|
Loading…
Reference in New Issue
Block a user