mirror of https://github.com/fantasticit/think.git
tiptap: fix mind wrap style
This commit is contained in:
parent
dc77d730f2
commit
ca41b31eea
|
@ -12,17 +12,4 @@
|
|||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
|
||||
.toolbarWrap {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.toolbarWrap {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<HTMLDivElement>();
|
||||
|
|
Loading…
Reference in New Issue