This commit is contained in:
archer
2023-06-11 19:31:22 +08:00
parent d3959a918c
commit 1ac3edccab
7 changed files with 14 additions and 7 deletions

View File

@@ -4,6 +4,7 @@ import { Box } from '@chakra-ui/react';
const Loading = () => {
return (
<Box
minW={'100px'}
w={'100%'}
h={'80px'}
backgroundImage={'url("/imgs/loading.gif")'}

View File

@@ -77,6 +77,7 @@ const MermaidBlock = ({ code }: { code: string }) => {
<Box
ref={dom}
className={styles.mermaid}
minW={'100px'}
minH={'50px'}
py={4}
dangerouslySetInnerHTML={{ __html: svg }}