mirror of https://github.com/fantasticit/think.git
tiptap: fix mind maxWidth
parent
4f9a9842cd
commit
ad7b9db5d4
|
@ -134,7 +134,7 @@ export const MindWrapper = ({ editor, node, updateAttributes }) => {
|
|||
{content}
|
||||
</Resizeable>
|
||||
) : (
|
||||
<div style={{ display: 'inline-block', width, height }}>{content}</div>
|
||||
<div style={{ display: 'inline-block', width, height, maxWidth: '100%' }}>{content}</div>
|
||||
)}
|
||||
</NodeViewWrapper>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue