mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: math overflow
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user