diff --git a/packages/client/src/tiptap/wrappers/mind/index.module.scss b/packages/client/src/tiptap/wrappers/mind/index.module.scss index a0de798d..f62e7e52 100644 --- a/packages/client/src/tiptap/wrappers/mind/index.module.scss +++ b/packages/client/src/tiptap/wrappers/mind/index.module.scss @@ -12,17 +12,4 @@ background-color: transparent !important; } } - - .toolbarWrap { - position: absolute; - top: 50%; - left: 0; - opacity: 0; - } - - &:hover { - .toolbarWrap { - opacity: 1; - } - } } diff --git a/packages/client/src/tiptap/wrappers/mind/index.tsx b/packages/client/src/tiptap/wrappers/mind/index.tsx index 16df2e67..b771cf8b 100644 --- a/packages/client/src/tiptap/wrappers/mind/index.tsx +++ b/packages/client/src/tiptap/wrappers/mind/index.tsx @@ -10,7 +10,7 @@ import styles from './index.module.scss'; const { Text } = Typography; -const INHERIT_SIZE_STYLE = { width: '100%', height: '100%' }; +const INHERIT_SIZE_STYLE = { width: '100%', height: '100%', maxWidth: '100%' }; export const MindWrapper = ({ editor, node, updateAttributes }) => { const $container = useRef();