mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-09-09 06:56:41 +08:00
feat: chat panel redesigned ui
This commit is contained in:
@@ -177,13 +177,14 @@ export function Markdown(
|
||||
fontSize?: number;
|
||||
parentRef?: RefObject<HTMLDivElement>;
|
||||
defaultShow?: boolean;
|
||||
className?: string;
|
||||
} & React.DOMAttributes<HTMLDivElement>,
|
||||
) {
|
||||
const mdRef = useRef<HTMLDivElement>(null);
|
||||
|
||||
return (
|
||||
<div
|
||||
className="markdown-body"
|
||||
className={`markdown-body ${props.className}`}
|
||||
style={{
|
||||
fontSize: `${props.fontSize ?? 14}px`,
|
||||
}}
|
||||
|
Reference in New Issue
Block a user