mirror of https://github.com/usememos/memos.git
fix: math overflow
This commit is contained in:
parent
fe5a0fe98a
commit
5f207c8f0c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue