Skip to content

开源白板工具(SaaS),一体化白板,包含思维导图、流程图、自由画等。All in one open-source whiteboard tool with mind, flowchart, freehand and etc.

fix(mind): fix image scaling issue

seepine44dd360248b3
diff --git a/packages/drawnix/src/plugins/components/image.tsx b/packages/drawnix/src/plugins/components/image.tsx
index fdb19af..711d36f 100644
--- a/packages/drawnix/src/plugins/components/image.tsx
+++ b/packages/drawnix/src/plugins/components/image.tsx
@@ -8,7 +8,7 @@ export const Image: React.FC<ImageProps> = (props: ImageProps) => {
width: '100%',
};
return (
- <div>
+ <div style={{ display: 'flex' }}>
<img
{...imgProps}
className={classNames('image-origin', {