fix: math overflow

This commit is contained in:
Steven
2024-05-10 06:21:47 +08:00
parent fe5a0fe98a
commit 5f207c8f0c

View File

@@ -7,7 +7,7 @@ interface Props {
}
const Math: React.FC<Props> = ({ content, block }: Props) => {
return <TeX block={block} math={content}></TeX>;
return <TeX className="max-w-full inline-block overflow-auto" block={block} math={content}></TeX>;
};
export default Math;